From 09ff8b710bd91aab451c157d4e99ef4f716fccac Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 9 May 2023 00:31:09 -0400 Subject: [PATCH] Enable browser spell checker for TinyMCE --- js/app.js | 2 ++ portal/portal_footer.php | 1 + 2 files changed, 3 insertions(+) diff --git a/js/app.js b/js/app.js index 3607c680..3c8b395d 100644 --- a/js/app.js +++ b/js/app.js @@ -16,6 +16,8 @@ $('.select2').select2({ // Initialize TinyMCE tinymce.init({ selector: '.tinymce', + browser_spellcheck: true, + contextmenu: false, resize: true, min_height: 300, max_height: 600, diff --git a/portal/portal_footer.php b/portal/portal_footer.php index 9da1099d..97ba1a91 100644 --- a/portal/portal_footer.php +++ b/portal/portal_footer.php @@ -27,6 +27,7 @@ // Initialize TinyMCE tinymce.init({ selector: '.tinymce', + browser_spellcheck: true, resize: true, min_height: 300, max_height: 600,