Opened 6 years ago

Closed 6 years ago

#8725 closed Bug (invalid)

CKEDITOR.appendTo used for tag 'textarea',does not work

Reported by: mars Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.2
Keywords: Cc: 8968102@…

Description

example:

<textarea id="editor"> akdfkjwjjwjj<sdhfjsd><ijsdoifjo>sjdiofjiosdjfoe </textarea>

CKEDITOR.replace('editor'); is success! CKEDITOR.appendTo('editor'); is error!

Attachments (1)

ajax.html (3.4 KB) - added by mars 6 years ago.
appendTo can not work

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by mars

Attachment: ajax.html added

appendTo can not work

comment:1 Changed 6 years ago by Jakub Ś

Keywords: appendTo replace removed
Resolution: invalid
Status: newclosed

appendTo - means that you add CKEditor inside specified element. This element will be used as a wrapped for CKEditor. Now to my knowledge no matter what you pass into textarea it will be treated as text.

So just to sum up it's impossible. Only replace method can be used for textarea.

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