From 350c404a7d182b90ad80c37760e86f1c975b0450 Mon Sep 17 00:00:00 2001 From: Dmytro Borysovskyi Date: Wed, 6 Jan 2021 13:05:59 +0200 Subject: [PATCH] feat: turning on a native browser spell-checker (#487) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit According to https://github.com/Ionaru/easy-markdown-editor/pull/143 Signed-off-by: Dmytro Borysovskyi 🦁 --- frontend/static/js/App.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/static/js/App.js b/frontend/static/js/App.js index 0a18ef3f6..d0f13a32e 100644 --- a/frontend/static/js/App.js +++ b/frontend/static/js/App.js @@ -36,10 +36,11 @@ const imageUploadOptions = { const defaultMarkdownEditorOptions = { autoDownloadFontAwesome: false, spellChecker: false, + nativeSpellcheck: true, forceSync: true, status: false, - inputStyle: "textarea", - tabSize: 4 + inputStyle: "contenteditable", + tabSize: 4, }; /**