I am using simplemde editor and convert it into html but the value of simplemde.value() is null
itsayushyadav opened this issue · comments
I am using simplemde for markdown editor but when I am converting the value into HTML by simplemde.value() it will return null value.
var simplemde = new SimpleMDE({element: document.getElementById("MyAnswer")}); document.getElementById("answercontent").value = simplemdesimplemde.options.previewRender(simplemde.value());