Opened 11 years ago

Closed 11 years ago

#9335 closed Bug (expired)

Html data not getting appended correctly

Reported by: Dravit Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:



When I am trying to upload a HTML Template in my CKEditor it get appended after the end html tag and not getting appended into the body tag of the editor. Please resolve this issue.

Attachments (1)

api.html (6.6 KB) - added by Jakub Ś 11 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by Jakub Ś

Please provide exact steps to reproduce this problem. What you have given us is too little information.

comment:2 Changed 11 years ago by Dravit

Thanks for replying. Actually we are having a functionality to add graphical template in mails and by clicking choose graphical template user can select a template and use it in mail. But after selecting template the html code of that template get appended after the html code of ckeditor. Eg:- <html> <head> <title> <body> </body> </title> </head> </html> <img src="........"> --------- This is the code of template and ckeditor should place it between the body tag and not at the end of its html tag. I am using parent.CKEditor.instance.ta.setData(imge code here); This code is setting template in Editor window from another jsp. Please suggest some useful way to set it between body. Thanks

comment:3 Changed 11 years ago by Jakub Ś

Status: newpending

I have just tried modified version of api sample. To test it you have to put it in samples folder. Please see attachment.

This is fullPage sample that uses setData. By default setData replaces all the contents of editor so it is IMO impossible to get result you are having.

  1. Have you done any modifications to CKEditor code?
  2. Are you able to provide similar sample showing the problem?
  3. Please use latest CKEditor version 3.6.4. Is this the version you were using?

Changed 11 years ago by Jakub Ś

Attachment: api.html added

comment:4 Changed 11 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed
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