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

    Resources that have multiple rich text boxes cannot be edited and might not display all the text in Firefox 11.0.

    So either do not upgrade to Firefox 11 or use a different browser

    Thanks

    [ed. note: cipa last edited this post 12 years, 1 month ago.]
    • Indeed. The rich text TV works fine, but the content area does not display. If you type anyway, and then check the HTML source, it does in fact add to the content, it's just not displaying in the editor window.

      Javascript errors (multiple times):

      Timestamp: 3/15/12 7:39:43 PM
      Error: uncaught exception: TypeError: event.originalTarget.getElementsByTagName is not a function

      The error occurs apparently on every keystroke even when only the content area is rich text and does appear to work otherwise. [ed. note: sottwell last edited this post 12 years, 1 month ago.]
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 5340
        • 1,624 Posts
        Weird, I don't get any errors in firebug.

        Seems to be working fine when you have only one rich text box but fails when you add a second rich text TV.

        • Yes, but the errors occur in any case; each keystroke. I don't think the error is really the actual problem, I think it's a trickle-down effect from something else.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
          • Get the same errors in Revo as well.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 39072
              • 2 Posts
              I am not a ModX user but wanted to drop in to let you know that there is a thread on the TinyMCE boards about this problem that just started.. they may need more info: http://www.tinymce.com/forum/viewtopic.php?id=28400

              On top of that, one thing that is interesting is that if you resize the tinymce editor (if you have set it up to be resizable), it will repaint the editor and it will work again. In my investigation it seems to be somehow related to themes.

              If you have one tinymce set to have "simple" as the theme, and the other "advanced" they should work too. It's very odd.

              What version of tinymce does modx use? We use 3.3.8 where I am at, so I don't know if this is a problem with more recent versions of it as well.

              Good luck!
                • 39072
                • 2 Posts
                One other note, I upgraded to the newest version of tinymce and the issue resolved itself.
                • I would very much like to see a switch to elRTE and elFinder, anyway. I wish my Javascript abilities were stronger.
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 36416
                    • 589 Posts
                    This is VERY unfortunate. Is it a data loss bug, or the 1st rich-text field stays only invisible and is written back to resource DB (i.e. on resource edit)?
                      • 39092
                      • 9 Posts
                      The good news is if you re-save the page data is NOT lost
                      If you start typing in the box, then even though you see no position indicator what you type gets added to the page, which could therefore be a problem, since you can't see what you are typing

                      however

                      as a quick fix, it appears if you move the expand thingy in the bottom right hand corner even just a fraction, the display appears