2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-07-23 01:44:31 -06:00

Updated documentation

This commit is contained in:
Lennart Vogelsang 2022-06-07 20:11:27 +02:00
parent 8295aa6a5a
commit 67f75535ad
No known key found for this signature in database
GPG Key ID: DD9053639FE86BE8

View File

@ -266,6 +266,11 @@ const editor = new EasyMDE({
preview.innerHTML = customMarkdownParser(plainText);
}, 250);
// If you return null, the innerHTML of the preview will not
// be overwritten. Useful if you control the preview node's content via
// vdom diffing.
// return null;
return "Loading...";
},
promptURLs: true,