A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
I need to be able to load text into the editor but the initial value will just replace the content. I want to make it so that if the textcontent of the textarea is empty, then it will use the initial value. But if the textcontent is not empty, then it will not use the initial value.
I need to be able to load text into the editor but the initial value will just replace the content. I want to make it so that if the
textcontent
of thetextarea
is empty, then it will use the initial value. But if thetextcontent
is not empty, then it will not use the initial value.