FCKEditor deletes newlines, returns and tabulators.
This problem is really bad, after editing with fckeditor the htmlcode is saved in a single line.
Is this a bug of fckeditor or just false implementation or settings?
This problem is really bad, after editing with fckeditor the htmlcode is saved in a single line.
Is this a bug of fckeditor or just false implementation or settings?
RE: Deletes \n and \r
Its a pain but you wont find any other editor that uses the same component that does any better.
RE: Deletes \n and \r
RE: Deletes \n and \r
RE: Deletes \n and \r
RE: Deletes \n and \r
This issue is related to the XHTML cleaning feature. When cleaning, the DOM tree of the document is recreated and the line-breaks cannot be controlled. If XHTML is less important than code formatting to you, you can disable it in the fck_config.js file.
The other think that you could do (that could be implemented in future releases of the editor) is a server side integration with HTML Tidy. This component control the HTML, cleaning and optionally formatting it.
Unfortunately a client side solution for that is too hard to implement, bringing performance problems to the editor.
Best regards,
FredCK
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
RE: Deletes \n and \r