We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19328
    • 433 Posts
    Hi there,

    I’m using the function to toggle between WYSIWYG and HTML in TinyMCE a lot. Unfortunately this function is only available for the resource content’s TinyMCE, and there is no such function for the Rich Text TinyMCE template variables. I am aware of the ’View HTML’ button, but that opens a pop-up with the source code.

    I saw the same question discussed on the TinyMCE forums: http://tinymce.moxiecode.com/forum/viewtopic.php?pid=81099#p81099. It can be accomplished by using the mceToggleEditor, but I can’t get clear how to ’install’ that feature in TinyMCE.

    Does anybody knows how to enable toggling for the Rich Text TinyMCE template variable instances?
      • 12241
      • 80 Posts
      I need this feature too!
        Environment:
        modx: rev 2.0.8-pl
        localhost: Apache/2.0.63 (Unix) PHP/5.2.11 DAV/2, MySQL client version: 5.1.37
        • 38800
        • 35 Posts
        In the "Input Options" tab for your Template Variable, set "Input Type" to "RichText". That should do it!
          • 36604
          • 268 Posts
          Hi,

          Of course it does not...
          If the TV is using TinyMCE, it means it IS actually a RichText input option.
          And the issue is p it does not offers the check box to toggle to pure code editing