Project

General

Profile

Bug #4996

CK-editor sourcecode problem

Added by Albert Vis over 7 years ago. Updated over 7 years ago.

Status:
Needs more info
Priority:
High
Assignee:
-
Start date:
18/06/2012
Due date:
% Done:

0%

Estimated time:
Complexity:
Challenging

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.

History

#1

Updated by Albert Vis over 7 years ago

  • Priority changed from Normal to High
#2

Updated by Sven Vanpoucke over 7 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.

#3

Updated by Hans De Bisschop over 7 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.

#4

Updated by Stefaan Vanbillemont over 7 years ago

  • Assignee deleted (Albert Vis)

Also available in: Atom PDF