Opened 6 years ago

Closed 6 years ago

#8563 closed Bug (expired)

ckeditor makes double <br>

Reported by: casperskou Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

I use ckeditor PHP version with following settings: $configenterMode? = 2; $configshiftEnterMode? = 1;

When i change line (inserting <br) in the editor, it only shows 1 <br> in htmlmode.. But everytime i submit the text, it ad another <br> to it..

It should be: abc<br> bac<br> cab<br>

But instead it's: abc<br><br> bac<br><br> cab<br><br>

I use Chrome, but i also testet it in IE and it still does it..

How to fix this problem?

Change History (3)

comment:1 Changed 6 years ago by Jakub Ś

Keywords: line double br <br> break removed
Status: newpending
Version: 3.6.2

What do you mean by

But everytime i submit the text,

You mean that you send it to the server write to DB and then display in editor once more?

Shouldn't this be <br/> instead of <br> ?

comment:2 Changed 6 years ago by Jakub Ś

@casperskou any updates?

comment:3 Changed 6 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed

Closing as expired.

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