From c32c4c2585eb4169d4a15feca9d4cae2f46e561d Mon Sep 17 00:00:00 2001 From: Robert Scott James <rjames93@sucs.org> Date: Wed, 22 Apr 2015 11:42:30 +0000 Subject: [PATCH] Changed the tiny_mce option: mode to not change textarea sections indiscriminatly instead only changing the exact: "body" for the edit pages M tiny_mce.js --- htdocs/js/tiny_mce.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/js/tiny_mce.js b/htdocs/js/tiny_mce.js index 3a1dd75..a55d747 100644 --- a/htdocs/js/tiny_mce.js +++ b/htdocs/js/tiny_mce.js @@ -1,5 +1,6 @@ tinyMCE.init({ - mode: "textareas", + mode: "exact", + elements : "body", height: "100%", plugins: "safari,fullscreen,inlinepopups", theme: "advanced", @@ -267,4 +268,3 @@ valid_elements : "" +"|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style" +"|title]" }) - -- GitLab