[SOLVED] can not switch off WYSIWYG for one contentblock

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Gamonon

[SOLVED] can not switch off WYSIWYG for one contentblock

Post by Gamonon »

I have some simple code in one of the contentblocks and when WYSIWYG is switched on, the code gets corrupted. If I switch off WYSIWYG for the whole page, I'm fine. But when I switch it of for that conetentblock and reload that page again, WYSIWYG for that block is switched on again and my code corrupted.

Do I realy need to keep it off for the whole page? It is a pain as editing the blocks is difficult in just the code.

Thanks
Last edited by Gamonon on Thu Dec 03, 2009 11:24 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: can not switch off WYSIWYG for one contentblock

Post by Dr.CSS »

There is a setting for it that will have it not start on page edit load then you just hit the on/off tick at the bottom to have it on, this way it will never be open when you edit but comes on quick when you hit the switch, I also think it makes the edit page load faster...

You can also tell just that one edit box to not have tiny, look in tiny help for tag parameters for this...
Gamonon

Re: can not switch off WYSIWYG for one contentblock

Post by Gamonon »

If I switch it of for the whole page on the options tab, I can not switch individual contentblocks on. There is no checkmark to do so.
If I check off one contentblock, save the page and reload it again, it is switched on again and the code corrupted.

I know what my problem is, I use a great tab component but they use non-standard attributes in the tag (name and width). These attributes are constantly removed, making the component stop working of course.

Where can I find the tiny help you are refering to? 
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: can not switch off WYSIWYG for one contentblock

Post by Dr.CSS »

Extensions > tinyuMCE > avanced tab... Startup enabled:  Unchecking this starts up Tiny-editors in a disabled state. Should be used together with the toggle button....
Gamonon

Re: can not switch off WYSIWYG for one contentblock

Post by Gamonon »

That was exactly what I needed and solved a huge problem. Thanks for explaining Dr CSS!
Locked

Return to “CMSMS Core”