Converting linebreaks when CKEditor in swtched off and toggle mode is enabled. It's related with issue #1050118: Added better support for Line break converter. CKEditor is now able to load properly content where new line characters were used where patch should be ported to D7.

Files: 

Comments

Status:Patch (to be ported)» Needs work
StatusFileSize
new2.25 KB

I have made a port of the patch posted in #1050118-4: Added better support for Line break converter. CKEditor is now able to load properly content where new line characters were used with one difference: the convert happens in Drupal.ckeditorOn() instead of Drupal.ckeditorToggle(), because then the convert also happens when the editor is enabled by default.

I see the code in the Drupal 6 version has changed along the way where an enterMode has been added. As I'm not yet familiar with the code I'm leaving it to someone else to add support for enterMode.

@ MegaChriz,
thank you for patch. We try check this as soon as possible.

Patch worked well here