keeping html code formatting
-
AntEater
keeping html code formatting
I'm new to CMSMS and am working on migrating an existing site of semi-static pages over to this cms. I've been adding pages through the "content->Pages" portion of the admin panel and am starting to really appreciate this CMS. When I edit the html of a page directly (instead of using the wysiwyg mode), save it and then view the html code again the formatting is all messed up. I have several large pages where it would be extremely helpful to be able to keep the formatting of the html code preserved between editing sessions. Is there some way to convince CMSMS to do this for me? I have searched a bit on the phorums and google but haven't found anything addressing this issue. Any help is appreciated.
Re: keeping html code formatting
To keep HTML formatting (or at least to have some formatting - it does change it, but consistently), navigate to Extensions > TinyMCE WSYIWIG Basic. Under the Settings tab you'll find a check box for Apply source formatting to the output HTML. This will make editing the code a whole lot easier.
-
AntEater
Re: keeping html code formatting
Well, that helps some. It throws away my indentation but at least it keeps the carriage returns.tophers wrote: To keep HTML formatting (or at least to have some formatting - it does change it, but consistently), navigate to Extensions > TinyMCE WSYIWIG Basic. Under the Settings tab you'll find a check box for Apply source formatting to the output HTML. This will make editing the code a whole lot easier.
Thanks.
PS. Are there any another editors that can plug into CMSMS besides TinyMCE?
Re: keeping html code formatting
TinyMCE should keep (or at least use) indenting - check a page with some hierarchy to it (like a nasty table, for instance!).
Otherwise, you can try something from here:
http://dev.cmsmadesimple.org/softwarema ... rm_cat=323
I've only used Tiny MCE and FCKEditor, and I have to say I didn't like what FCK did to my content.
Otherwise, you can try something from here:
http://dev.cmsmadesimple.org/softwarema ... rm_cat=323
I've only used Tiny MCE and FCKEditor, and I have to say I didn't like what FCK did to my content.

