Page 1 of 1
Content: crushed HTML
Posted: Thu Mar 06, 2008 8:24 am
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?
Re: Content: crushed HTML
Posted: Thu Mar 06, 2008 11:57 am
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.