Opened 5 years ago

Closed 5 years ago

#13121 closed Bug (invalid)

Function returning no data when called for the second time

Reported by: Jitan Aggarwal Owned by:
Priority: Normal Milestone:
Component: Core : Pasting Version:
Keywords: Cc:

Description

Hello Sir/Madam,

We are using CKeditor for backend data operations in our CMS system. We use its 'Paste from word' functionality to insert data into the editor. In the first attempt, our function CKEDITOR.instances.description.document.getBody().getChild(0).getText(); reads all the data but if I delete the data and re-insert it again using same 'Paste from word' functionality, the above function reads no data and returns validation error. This is happening in only Chrome Browser not in Mozilla Firefox. I have tested it in Windows 8 as well as Ubuntu 14.04.

Please look into the matter and help me with the solution.

Change History (1)

comment:1 Changed 5 years ago by Piotrek Koszuliński

Resolution: invalid
Status: newclosed
Version: 4.4.7

I'm sorry, but this doesn't look as a bug report. You're trying to do something unsafe - access DOM inside the editor. I am not sure what "returns validation error" means but I guess that you mean that some JS error is thrown. If this happens you need to check why it's thrown - perhaps the code that you use is invalid.

You can ask your question on http://stackoverflow.com, but you would need to improve it because it's very unclear.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy