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

    I’ve searched the forum, but couldn’t find why Tiny MCE is adding extra tags and unwanted styles to the content.

    Here’s an example:

    When I type this,

    <h4>1. <a href="[[~3]]">Residential Services</a></h4>


    And press enter, I get this:

    <h4><span style="font-size: 17px; line-height: 19px;" mce_style="font-size: 17px; line-height: 19px;">1</span>. <a href="[[~3]]" mce_href="[[~3]]"><span style="color: #336699; text-decoration: none;" mce_style="color: #336699; text-decoration: none;">Residential Services</span></a></h4>

    As you can tell, i’m running Revo 2.5 Beta, on Chrome.

    Any help please?
      A MODx Fanatic
      • 8214
      • 28 Posts
      Its a tough issue. These editors are somewhat buggy.

      Try disabling the editor first of all. Then, if it still does it maybe delete and re-install the package.
        • 30585
        • 833 Posts
        Quote from: dun at Jan 26, 2010, 06:52 AM

        Its a tough issue. These editors are somewhat buggy.

        Try disabling the editor first of all. Then, if it still does it maybe delete and re-install the package.

        Thanks for the advice, I tried but no luck.

        Anyone else has the same problem?
          A MODx Fanatic
          • 1828
          • 137 Posts
          Yes, I have the same problem in Chrome with Evo 1.02 and the included Tiny MCE version.
            • 17230
            • 35 Posts
            Same problem here. It’s not causing any major problems but it leads to invalid markup of course.

            I’ve found this article here, that deals with this problem: http://modxcms.com/forums/index.php/topic,32659.0.html. As far as I can see it’s an incompatibility issue between some TinyMCE and modx versions, yes?

            I need a RTE for Blogging and TinyMCE is the only RTE currently available for the Revolution beta, which I’m using for my own site... Hopefully this gets addressed in a nearby future update.

            Cheers, Liquinaut

              - Just because you&#39;re not paranoid doesn&#39;t mean they&#39;re not after you -
              • 20413
              • 2,877 Posts
              ---0963/EVO---

              For MODx tags I use None-RTE TV’s. The only tag I would
              use in a RTE is chunks.

              I manage my (youtube) blog with NewsManager and TinyMCE using Chrome.
              This happens to me when I copy/paste text from web pages.
              If I use the paste-in-as-text button or first paste the text in an above
              None-RTE textarea and re-copy it, I get around it.

              AWESOME tip ---> http://modxrules.com/articles/detect-empty-html-elements-tinymce-lefts-behind
              //This could "MAYBE" be modified to highlight the mce_href...
                @hawproductions | http://mrhaw.com/

                Infograph: MODX Advanced Install in 7 steps:
                http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

                Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
                http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
                • 26931
                • 2,314 Posts
                guess it’s Chrome related in the first place ... had problems using TinyMECE with Chrome myself and heard it from others too
                As you can tell, i’m running Revo 2.5 Beta, on Chrome
                did you try other browsers as well?
                  • 17230
                  • 35 Posts
                  I am using Safari which is based on the webkit engine that is used in Chrome as well.

                  But I tried to sort things out and checked this issue with Firefox. Now this is weird: I’m not able to reproduce the fault on as many tags as in Safari, but it still exist. Then again, when the page is rendered for output, not all of these mce_href attributes are still there, only a few survive when the page is accessed by the client.

                  That looks like a tiny little bug somewhere... wink
                    - Just because you&#39;re not paranoid doesn&#39;t mean they&#39;re not after you -
                    • 26931
                    • 2,314 Posts
                    But I tried to sort things out and checked this issue with Firefox. Now this is weird: I’m not able to reproduce the fault on as many tags as in Safari, but it still exist.
                    any FF addons/plugins that might interfere with TinyMCE’s js?
                      • 17230
                      • 35 Posts
                      I’ve tried editing with all plugins turned off (even disactivated them). Then I tried to remove the mce_href attributes with TinyMCE toggled off. After saving the page, the two tags in question again had the attributes added. On of them is an absolute link to an external page and the other is an internal link pointing to the ressource with id #1. Syntax of the internal links are in Revo of course wink
                        - Just because you&#39;re not paranoid doesn&#39;t mean they&#39;re not after you -