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.
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.
thank you for patch. We try check this as soon as possible.
Patch worked well here
Updated patch to apply to latest module version.
Hmm, looks like there's an issue with this behavior remaining bound even after CKeditor has been disabled. When I select the "Plain text" format CKeditor disappears, but line breaks still end up being converted to paragraph tags.
Patch works for me, nice!
patch#4 confirmed to work by adding <p> and <br /> tags for linebreaks on opening node edit form. ckeditor 7.x - 1.16 and 7.x-1.16+9-dev
as per #5 converting to plain text doesn't remove tags
Drupal is a registered trademark of Dries Buytaert.