Opened 15 years ago

Closed 15 years ago

#2595 closed Bug (invalid)

getHTML, getXHTML & getData adds HTML code tht isn't there

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


If the editor is set with full=true, the get* methods return data that includes additional html tags such as <html> & <body> even if they are not present in the editor.

This seems like a bug as I assume these commands only return what is actually in the editor formatted to HTML or XHTML but does nt add tags that are not there. I assume getData provides no formatting.

To test this I created a field that contains only a <div> tag. Then called getData. getData added <html> & <body> tags to the <div>. If I set FULL=FALSE it returns only the <div> section.

Change History (2)

comment:1 Changed 15 years ago by Artur Formella

Keywords: getData getHTML getXHTML removed

if the FCKeditor is set to "full", it should return a valid page with all required tags.

comment:2 Changed 15 years ago by Alfonso Martínez de Lizarrondo

Resolution: invalid
Status: newclosed
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