Opened 15 years ago

Closed 12 years ago

#2644 closed Bug (worksforme)

Over riding ConvertToDataFormat wraps lines

Reported by: scott Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.6.3
Keywords: Cc:


Hi ya,

First of all enable the bbcode plugin. Now load up the bbcode plugin and this is purely to do with the method: ConvertToDataFormat

Now type in a long sentence with no breaks while in rich text mode. Then copy it, and paste a few times. It appears to be pasted ok. Click preview, or switch the the raw text, and the text has mysterious line breaks as if it has been wrapped.

Disable the bbcode plugin and try again. It works fine. Enable the bbcode plugin again, go to the method i just mentioned... and (using firebug) below the:

var data = rootNode.innerHTML ;

type console.log(data);

the mysterious line breaks are there! Something is wrapping the text before sending it to the plugin so i have no idea to tell actual line breaks from wrapped ones.

I assume this is a bug. Please advise.

Browser: FireFox 2 and FireFox 3 Operating System: Vista & XP

Kind regards, Scott

Change History (1)

comment:1 Changed 12 years ago by Krzysztof Studnik

Resolution: worksforme
Status: newclosed

FCKeditor was retired and is no longer supported. All active development was moved to its successor, CKEditor 3.x, that is a fully mature and far superior product. We recommend you upgrade as soon as possible since this issue is no longer a problem in current code base.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy