javascript - TinyMCE inside hidden div are not displayed as enabled when we put the div visible -
I have a problem with TinyMCE (WYSIWYG editor). I actually HTML'm adding a DIV the textarea element, which is currently the style attribute in the "Performance: I am no" is
When I switched to visible Diaivi display style The TinyMeE Editor is shown as disabled.
Important Note: This problem is causing the setting is the "auto_resize" option. This is the only option that I turn on / off, which goes to the edit or read mode of the small MEEE editor.
This is my code:
tinyMCE.init {mode: "specific_textareas", editor_selector: / (RichTextArea) /, theme: "Advanced", auto_reset_designmode: True , auto_resize: true, theme_advanced_buttons1: "bold, italic, underline, strikethrough, |, fontselect, fontsizeselect, |, ForeColor, Backcolor, |, bullist, numlist, |, justifylft, justifycenter, justifyright, justifyfull", theme_advanced_buttons2: "" , Theme_advanced_buttons3: "", Theme_advanced_buttons4: "", Thym_vistrit_adik_golrs: 0, Thym_vistrit_tolbar_ location "external", Thym_adyt_tolbar_alain: "left"}); ...
& lt; A href = "#" onclick = 'document.getElementById ("myHiddenDiv"). Style.display = "block"; Return false; '& Gt; Show WYSIWYG & lt; / A & gt; & Lt; Br / & gt; & Lt; Div id = "myHiddenDiv" style = "display: none" & gt; & Lt ;! - Turns with TinyMCE, HTML should be encoded in one texterity - & gt; & Lt; Text field class = "RichTextArea" id = "elm1" name = "Elml" rows = "15" columns = "80" style = "width: 80%" & gt; & Amp; Amp; Lt; P & amp; Gt; This is the first paragraph. & Amp; Lt; / P & gt; & Amp; Lt; P & amp; Gt; This is the second paragraph. & Lt; / P & gt; & Amp; Lt; P & amp; Gt; This is the third paragraph & amp ;. Lt; / P & amp; Gt; & Lt; / Text field & gt; & Lt; / Div & gt; I want to know if anyone has an idea of how to fix that issue?
"itemprop =" text ">
tinyMCE.init (...) after you have brought the div in front of you try to call .
Comments
Post a Comment