Line breaks do not transfer to HTML code. If you want a line break, you need to use
Thanks for the reply, I think maybe I wasnâ€™t clear or used the wrong terminology.
When Iâ€™m editing the source code and make changes such as breaking the source into multiple lines when I go to the WYSIWYG editor and then back to source the source is no longer on multiple lines.
In my example no matter what I do the source alway reverts to being on the same line.
How do I change the source so that it retains any formatting changes I make?
Just making a new line in a WYSIWYG editor does not automatically add a
tag to the HTML. If you do not have a
tag in the HTML, you will not get a new line. Certain HTML tags automatically cause the browser to break to a new line; <p> tags and <li> tags are some others besides
that do so. Having a line break in text does not.
Iâ€™m not making the new line in the WYSIWYG editor, Iâ€™m making it in the source. My question concerns only editing and viewing code in the source. I put in the part about the WYSWIG editor just the make the point that the source changes/reverts when I leave the source, go to the WYSIWYG editor and then go back to the source. Iâ€™m not making any changes in the WYSIWYG editor.
I believe the RTEâ€™s both have default options that "cleanup" the source, causing this "reformatting", but where or how to set those, I canâ€™t recall at the moment.
For TinyMCE, the "cleanup" option is at Resources/Manage Resources/Plugins/TinyMCE/Configuration. I disabled cleanup but I am still getting the same results.
No, that didnâ€™t work either.