Bug #4996
openCK-editor sourcecode problem
0%
Description
When making/designing a document with the editor and you switch to 'source', then back and then 'source' again, the editor will add <p></p> tags and mixes up the code; putting all main tags above your own code and adding the <p></p> tags in between you own added code.
Result is that everytime you enter the back-end and switch back to the front the design and code gets messed up.
Updated by Sven Vanpoucke almost 11 years ago
- Status changed from New to Needs more info
This is automated behavior from the front design of ckeditor to add paragraph tags for each line.
Updated by Hans De Bisschop almost 11 years ago
Small addition: <p> tags are added for regular returns (= new paragraph), <br /> tags are added for line feeds (= new line). Most people just continuously use the "Enter" key which is, correctly, interpreted by CKEditor as a new paragraph. Additionally CKEditor will clean up source code as well as possible to avoid broken html.
Updated by Stefaan Vanbillemont almost 11 years ago
- Assignee deleted (
Albert Vis)