[solved] WYSIWIG default
Posted: Wed May 14, 2008 9:04 pm
After just having a heckĀ of a time trying to figure out why some FEU tags on pages,
{if $ccuser->loggedin()} being changed to
{if $ccuser->loggedin()}
were giving me syntax problems, it finally became apperentĀ that the WYSIWIG editor was changing ">" to ">".
I'd turn WYSIWIG off, fix the code back to ">", apply the change and everything would work again. But then I'd go back to that page in the admin and as soon as I'd open the page again, the ">" would get changed back to ">".
So it seems all my problems are because the editor (FCKeditor and TinyMCE) by default have wysiwig turned on. And because of that the characters are being changed back into entities as soon as the page opens in the editor.
I don't see any way to have wysiwig off by default. Is there a way to accomplish this? I already have the checkbox enabled to turn wysiwig on and off, but it is checked on by default apparently. If were possible to have it checked off by default, I think my entities problems would go away.
{if $ccuser->loggedin()} being changed to
{if $ccuser->loggedin()}
were giving me syntax problems, it finally became apperentĀ that the WYSIWIG editor was changing ">" to ">".
I'd turn WYSIWIG off, fix the code back to ">", apply the change and everything would work again. But then I'd go back to that page in the admin and as soon as I'd open the page again, the ">" would get changed back to ">".
So it seems all my problems are because the editor (FCKeditor and TinyMCE) by default have wysiwig turned on. And because of that the characters are being changed back into entities as soon as the page opens in the editor.
I don't see any way to have wysiwig off by default. Is there a way to accomplish this? I already have the checkbox enabled to turn wysiwig on and off, but it is checked on by default apparently. If were possible to have it checked off by default, I think my entities problems would go away.