Opened 8 years ago

Last modified 8 years ago

#9558 confirmed New Feature

Allow Additional Line Break In Source View — at Initial Version

Reported by: Dave Owned by:
Priority: Normal Milestone:
Component: UI : Source View Version: 3.0
Keywords: Cc:

Description

I'm a big fan of clean and easily readable source code. I think it would be great to add an additional parameter to CKEditor SetRules() function just below 'breakAfterClose' named 'additionalBreakAfterClose' which would add a 2nd line break after the closing tag. As a result, the SetRules function could allow for an additional line break after certain tags. I believe this could allow users to make their code easier for human eyes to read.

Current Method:

<div>I'm a happy div</div> <div>I'm another happy</div>

Proposed Method with 'additionalBreakAfterClose':

<div>I'm a happy div</div>

<div>I'm a very happy div now</div>

Change History (0)

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy