Content: crushed HTML

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.
Post Reply
User avatar
wakewatcher
Forum Members
Forum Members
Posts: 149
Joined: Fri Dec 28, 2007 12:33 am

Content: crushed HTML

Post by wakewatcher »

Ok so I add some content all formatted as I like.  I unclick "Turn WYSIYG on/off" so its off then 'submit' when I return to edit the content the wysiyg is active and when I unclick it again my html layout is crushed.  I tried turning off the text editor in "user preferences" and it straightens out the html but then the editor is selectable at all.  Is there a way to have the default for the wysiwyg option to be off when entering a content page?
nivekiam

Re: Content: crushed HTML

Post by nivekiam »

Code: Select all

[code]It appears that you are suppose to be able to set wysiwyg to false in the content block tag, however, that doesn't seem to work for me.

I don't know if there is a way to do this through one of the admin options, but if you edit /modules/TinyMCE/tinyconfig.php and comment out this line:

[code]
                        echo $_SESSION["tiny_live_textareas"];
Like so:
[/code]
                        //echo $_SESSION["tiny_live_textareas"];
[/code]

Then it's not WYSIWYG by default.  The check box is still there to toggle that mode on or off, but it's off by default. At least it is in my quick test.

I would try setting your content block to {content wysiwyg='false'} first and see if that works.  Post back here if that works or not.
Post Reply

Return to “CMSMS Core”