CKEditor html no linebreak in Firefox

Questions about how to use the online - editors and suggestions how to improve them
svasti
Posts: 1650
Joined: Wed Dec 17, 2008 5:08 pm
Location: Bielefeld, Germany
Contact:

CKEditor html no linebreak in Firefox

Postby svasti » Mon Mar 16, 2015 5:50 pm

Unfortunately it seems that in the new versions of Firefox CKEditor doesn't break the lines in html view.
Although it does so in all the other browsers I tried. Can anybody replicate this strange behavior?

Same with CKEditor 4.4.7. :cry:

cmb
Posts: 11901
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: CKEditor html no linebreak in Firefox

Postby cmb » Mon Mar 16, 2015 11:19 pm

Confirmed for the online demo. A workaround might be to remove the following from editor_gecko.css:

Code: Select all

.cke_source {
    white-space: pre;
}

Ah, just found a respective bug report: http://dev.ckeditor.com/ticket/13031. The milestone has been set for 4.4.8, so presumably it'll be fixed soon.
Christoph M. Becker –Plugins for CMSimple_XH, but not for CMSimple 4+

svasti
Posts: 1650
Joined: Wed Dec 17, 2008 5:08 pm
Location: Bielefeld, Germany
Contact:

Re: CKEditor html no linebreak in Firefox

Postby svasti » Tue Mar 17, 2015 1:29 pm

Ah, it's good to have a fix. I used: white-space: pre-wrap;


Return to “Editors”

Who is online

Users browsing this forum: No registered users and 1 guest