We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17723
    • 221 Posts
    Hello,
    I’ve nicely styled table in Dremweaver and past code to content area. Than I turn on TinyMCE editor and it changed my custom table style.
    Is it possible to stop TinyMCE editor from changing my code?
    Thanks for help.
    luki
      Lucas from AroundCyprus.net
      • 25803 ☆ A M B ☆
      • 721 Posts
      Quote from: lx at Aug 31, 2008, 02:37 AM

      Hello,
      I’ve nicely styled table in Dremweaver and past code to content area. Than I turn on TinyMCE editor and it changed my custom table style.
      Is it possible to stop TinyMCE editor from changing my code?
      Thanks for help.
      luki

      Go to the Plugins tab, click on TinyMCE and then, under configuration, select disable for Clean Up. It usually stops TinyMCE from buggering your code but I’ve found it’s not 100%. You might also want to upgrade to the latest version.
        • 18367
        • 834 Posts
        Unfortunately if you disable clean up other functions of Tiny MCE won’t work and you end up having to turn it back on.
          Content Creator and Copywriter
          • 25803 ☆ A M B ☆
          • 721 Posts
          Quote from: markg at Sep 09, 2008, 05:05 AM

          Unfortunately if you disable clean up other functions of Tiny MCE won’t work and you end up having to turn it back on.

          Yes. I’ve discovered this. The mce href and buggering internal links starts to occur.
            • 3749
            • 24,544 Posts
            I generally turn off the RTE altogether by unchecking "Rich text" on the Page Settings tab and work in raw HTML. That way nothing gets munged.
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 25803 ☆ A M B ☆
              • 721 Posts
              Quote from: BobRay at Sep 09, 2008, 02:52 PM

              I generally turn off the RTE altogether by unchecking "Rich text" on the Page Settings tab and work in raw HTML. That way nothing gets munged.

              Which is great for those who know HTML, but for clients who want and need a CMS, not so good. I find the best thing to do is get rid of anything they shouldn’t click on and give strict guidelines (combined with excellent CSS).
                • 17723
                • 221 Posts
                In TinyMCE wiki I found solution!
                Dont disable Clean Up in mceEditor configuration, becouse it will couse more problems.
                You just need to add class="mceNoEditor" to hide certain blocks form editor. I’v tryed this and it seam to work well.
                Here is this wiki articke http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/editor_deselector
                If this solution wroks well for You too plese post here so others will now how to solve this problem In future.
                Greetings,
                lx
                  Lucas from AroundCyprus.net