I want to use Medium Editor for inline editing. On one page it's working. However on another page I want the editor to be disabled at the beginning, as the text is normally only for reading. It's disabled with disableEditing: true
when initializing the editor.
However I can't enable it again. I found nothing about changing the settings afterwards and whatever I tried, nothing worked.
var helpeditor = new MediumEditor("#htext", {
extensions: {
"autolist": autolist
},
toolbar: {
buttons: ["bold", "italic", "underline", "unorderedlist", "orderedlist", "justifyLeft", "justifyCenter"]
},
disableEditing: true
});