User1710
User1710

Reputation: 299

ckeditor add "<body id="cke_pastebin" > </body>" tag

I am using ckeditor for my project. Whenever I am going to add some text which contain HTML tag in ckeditor then it add below string in my HTML pasted string.

<body id="cke_pastebin" 
      style="position: absolute; top: 21px; width: 1px; 
             height: 1px; overflow-x: hidden; overflow-y: hidden; 
             left: -1000px; ">
</body>

I tried there given patch for above issue but it works only for IE not for Crome browser.I used there updated version in my demo project but no success.

Upvotes: 2

Views: 3656

Answers (1)

j.swiderski
j.swiderski

Reputation: 2445

The problems you are referring to were fixed in CKEditor 3.6.4 and 4.0. Please see: https://dev.ckeditor.com/ticket/9042 and https://dev.ckeditor.com/ticket/9549.

If you are using CKEditor below that version please upgrade the editor because you will have problems with supporting latest browsers. For example: support for IE0 was introduced in CKE 3.6.5, support for IE 11 in CKEditor 4.3 and support for Edge in CKEditor 4.5.6. Also note that by staying with an older, unsupported version you are missing many important bug fixes (including security-related ones) and new features that your editor users are still not able to use.

I will also add that CKEditor 3.x is no longer developed so upgrading to CKEditor 4.x is highly recommended. CKEditor has a very good documentation so it should not be that hard: https://docs.ckeditor.com/#!/guide, http://sdk.ckeditor.com/index.html

See the following guides:

Upvotes: 3

Related Questions