From 67f75535adc7b8814f79910f5dcbd34f6171e789 Mon Sep 17 00:00:00 2001 From: Lennart Vogelsang Date: Tue, 7 Jun 2022 20:11:27 +0200 Subject: [PATCH] Updated documentation --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 208e940..b66e42f 100644 --- a/README.md +++ b/README.md @@ -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,