mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2025-07-15 05:54:27 -06:00
Fix JS bug
This commit is contained in:
parent
3ddc3dea1f
commit
1d8f398c41
@ -75,11 +75,11 @@ You can also choose to hide the statusbar and/or toolbar for a simple and clean
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
new SimpleMDE({
|
new SimpleMDE({
|
||||||
element: $("#demo1")[0],
|
element: document.getElementById("demo1"),
|
||||||
});
|
});
|
||||||
|
|
||||||
new SimpleMDE({
|
new SimpleMDE({
|
||||||
element: $("#demo2")[0],
|
element: document.getElementById("demo2"),
|
||||||
autosave: {
|
autosave: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
unique_id: "demo2",
|
unique_id: "demo2",
|
||||||
@ -87,7 +87,7 @@ You can also choose to hide the statusbar and/or toolbar for a simple and clean
|
|||||||
});
|
});
|
||||||
|
|
||||||
new SimpleMDE({
|
new SimpleMDE({
|
||||||
element: $("#demo3")[0],
|
element: document.getElementById("demo3"),
|
||||||
status: false,
|
status: false,
|
||||||
toolbar: false,
|
toolbar: false,
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user