Project

General

Profile

Actions

Bug #4996

open

CK-editor sourcecode problem

Added by Albert Vis almost 11 years ago. Updated almost 11 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.

Actions #1

Updated by Albert Vis almost 11 years ago

  • Priority changed from Normal to High
Actions #2

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.

Actions #3

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.

Actions #4

Updated by Stefaan Vanbillemont almost 11 years ago

  • Assignee deleted (Albert Vis)
Actions

Also available in: Atom PDF