From 4afd7a00239c1a7bfbbdf5a689ecbb20818258a2 Mon Sep 17 00:00:00 2001 From: Bartuccio Antoine Date: Fri, 14 Dec 2018 18:02:01 +0100 Subject: [PATCH] core: avoid blinking in MarkdownInput preview --- core/templates/core/markdown_textarea.jinja | 1 + 1 file changed, 1 insertion(+) diff --git a/core/templates/core/markdown_textarea.jinja b/core/templates/core/markdown_textarea.jinja index 5efaf0d3..285b7f24 100644 --- a/core/templates/core/markdown_textarea.jinja +++ b/core/templates/core/markdown_textarea.jinja @@ -54,6 +54,7 @@ spellChecker: false, previewRender: function(plainText, preview){ // Async method customMarkdownParser(plainText, preview); + return preview.innerHTML; } });