Opened 12 years ago
Closed 12 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: |
Description
Hello,
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)
Change History (5)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
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 12 years ago by
Status: | new → pending |
---|
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.
- Have you done any modifications to CKEditor code?
- Are you able to provide similar sample showing the problem?
- Please use latest CKEditor version 3.6.4. Is this the version you were using?
Changed 12 years ago by
comment:4 Changed 12 years ago by
Resolution: | → expired |
---|---|
Status: | pending → closed |
Please provide exact steps to reproduce this problem. What you have given us is too little information.