list not shown
AlphaBeta1906 opened this issue · comments
AlphaBeta commented
i just click the button for number list and the number was not shown,
here's my editor code:
<script>
var simplemde = new SimpleMDE({
autofocus: true,
element: document.getElementById("Editor"),
forceSync: true,
hideIcons: ["guide", "heading"],
indentWithTabs: false,
insertTexts: {
horizontalRule: ["", "\n\n-----\n\n"],
image: ["![](http://", ")"],
link: ["[", "](http://)"],
table: ["", "\n\n| Column 1 | Column 2 | Column 3 |\n| -------- | -------- | -------- |\n| Text | Text | Text |\n\n"],
},
promptURLs: true,
shortcuts: {
drawTable: "Cmd-Alt-T"
},
showIcons: ["code", "table"],
spellChecker: false,
status: ["autosave", "lines", "words", "cursor"], // Optional usage
status: ["autosave", "lines", "words", "cursor", {
}], // Another optional usage, with a custom status bar item that counts keystrokes
styleSelectedText: false,
tabSize: 4,
codeSyntaxHighlighting:true,
});
</script>
Note : it also happened in first use without configure the editor(deafult),list is not showing
Olivier Brassard commented
Same issue on my side !
Olivier Brassard commented
In fact, the problem was not related to SimpleMDE.
Some external CSS rules were resetting the styles of my list elements.