Closed sigmasoldi3r closed 3 years ago
Attempting to load a simple HTML document:
<div id="MyID"></div> <script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> <script> const simplemde = new SimpleMDE({ element: document.getElementById("MyID") }); </script>
No other Javascript frameworks are present, and using the latest Firefox version.
But console displays an Uncaught TypeError: can't access property "first", t is undefined.
Uncaught TypeError: can't access property "first", t is undefined
@sigmasoldi3r You need to use textareas. So replace your div with textarea.
div
textarea
It solves the issue! Thanks! 😃
Attempting to load a simple HTML document:
No other Javascript frameworks are present, and using the latest Firefox version.
But console displays an
Uncaught TypeError: can't access property "first", t is undefined
.