mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2025-07-14 13:34: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>
|
||||
new SimpleMDE({
|
||||
element: $("#demo1")[0],
|
||||
element: document.getElementById("demo1"),
|
||||
});
|
||||
|
||||
new SimpleMDE({
|
||||
element: $("#demo2")[0],
|
||||
element: document.getElementById("demo2"),
|
||||
autosave: {
|
||||
enabled: true,
|
||||
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({
|
||||
element: $("#demo3")[0],
|
||||
element: document.getElementById("demo3"),
|
||||
status: false,
|
||||
toolbar: false,
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user