Howdy,
I've noticed that when you edit a content page, all of the white space in the HTML is trimmed out. This leaves the HTML as one long line if you view the source, or one giant block of text if you try to edit the HTML directly.
My question is:
Is this a function of the WYSIWYG editor I'm using (TinyMCE)? Or is this something that CMSMS (Version 1.2) does when it puts the content into the database?
Just curious if there's a way to work around this, and I was hoping someone could point me in the right direction.
Thanks,
- Walkere
White Space in HTML is Trimmed When Editing Pages
Re: White Space in HTML is Trimmed When Editing Pages
After some snooping around in the settings of TinyMCE (odd place to look, eh?), I found something that kind of works.
If you check off "Apply Source Formatting to Output HTML," most of the white space is kept intact.
If I start a new line, that new line character remains there. However, if I add a second new line to add some extra space, that one is trimmed out.
Still a bit annoying, but definitely much more manageable.
- Walkere
If you check off "Apply Source Formatting to Output HTML," most of the white space is kept intact.
If I start a new line, that new line character remains there. However, if I add a second new line to add some extra space, that one is trimmed out.
Still a bit annoying, but definitely much more manageable.
- Walkere