Opened 12 years ago

Closed 12 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 12 years ago.
appendTo can not work

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by mars

Attachment: ajax.html added

appendTo can not work

comment:1 Changed 12 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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy