<![CDATA[ TinyMCE & Unwanted code - My Forums]]> https://forums.modx.com/thread/?thread=45698 <![CDATA[Re: TinyMCE &amp; Unwanted code]]> https://forums.modx.com/thread/45698/tinymce-unwanted-code#dis-post-264453 Hammer May 07, 2009, 10:37 AM https://forums.modx.com/thread/45698/tinymce-unwanted-code#dis-post-264453 <![CDATA[Re: TinyMCE &amp; Unwanted code]]> https://forums.modx.com/thread/45698/tinymce-unwanted-code#dis-post-264452

  • go to Manage Resources > Plugins > TinyMCE > Configuration
  • insert the path to your stylesheet in the "Custom Parameters" box in the form
    content_css : "/assets/templates/stylesheet.css",
    (including the quotes and the comma at the end)
  • select "Custom" from the Web Theme list (this will affect toolbar content and position if you had "simple" before)
cool KP]]>
kp52 May 07, 2009, 08:31 AM https://forums.modx.com/thread/45698/tinymce-unwanted-code#dis-post-264452
<![CDATA[Re: TinyMCE &amp; Unwanted code]]> https://forums.modx.com/thread/45698/tinymce-unwanted-code#dis-post-264451
Any ideas?]]>
Hammer May 07, 2009, 06:43 AM https://forums.modx.com/thread/45698/tinymce-unwanted-code#dis-post-264451
<![CDATA[Re: TinyMCE &amp; Unwanted code]]> https://forums.modx.com/thread/45698/tinymce-unwanted-code#dis-post-264450 KP]]> kp52 May 07, 2009, 04:53 AM https://forums.modx.com/thread/45698/tinymce-unwanted-code#dis-post-264450 <![CDATA[TinyMCE &amp; Unwanted code]]> https://forums.modx.com/thread/45698/tinymce-unwanted-code#dis-post-264449
http://modxcms.com/forums/index.php?topic=28466.0

The solution is below, but I have no idea how to implement it. Can someone please advise

*****SOLUTION FROM THREAD*****
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.

***************

Any ideas how I can make these changes?]]>
Hammer May 06, 2009, 08:26 PM https://forums.modx.com/thread/45698/tinymce-unwanted-code#dis-post-264449