Opened 16 years ago

Closed 16 years ago

#2293 closed Bug (invalid)

fckeditor strips all information before a body tag

Reported by: Hofer Owned by:
Priority: Normal Milestone:
Component: UI : Source View Version: FCKeditor 2.6.1
Keywords: Cc:

Description

when you paste the following code into fckeditor in the sourceview and switch back to wysiwyg-mode, then the style tags vanishes. if you remove the body tag, then the style tag stayes untouched. Tried in in Version 2.6.1 and on your Online-Demo - both dont work.

code to paste:

<style type="text/css">#second {position: absolute; background-color: blue;}</style> <body> <p id="second">Second paragraph. style </code> applied.</p> <p>pi</p> <p>pa</p> <p>po</p> </body>

Change History (1)

comment:1 Changed 16 years ago by Wojciech Olchawa

Keywords: missing style tags removed
Resolution: invalid
Status: newclosed

Actually this is an expected behaviour. Text which is written between <body> tags as well as the tag itself should be deleted.To avoid this behaviour you may always enable the following option:

FCKConfig.FullPage = true ;

and edit the whole page.

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