Opened 14 years ago

Closed 14 years ago

#5216 closed New Feature (fixed)

Provide CKEDITOR.appendTo(elementOrId, config, data)

Reported by: Alfonso Martínez de Lizarrondo Owned by: Alfonso Martínez de Lizarrondo
Priority: Normal Milestone: CKEditor 3.3
Component: General Version:
Keywords: Confirmed Review+ Cc:

Description

I guess that almost all the uses of CKEDITOR.appendTo will try to call .setData after creating the instance, so it will save some lines of code and avoid the creation of an empty editor that later is filled with the new data (remembering also that .setData will recreate the iframe) if the initial data can be set at creation time.

Attachments (1)

5216.patch (4.0 KB) - added by Alfonso Martínez de Lizarrondo 14 years ago.
Proposed patch

Download all attachments as: .zip

Change History (6)

comment:1 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: Confirmed added
Milestone: CKEditor 3.x

Changed 14 years ago by Alfonso Martínez de Lizarrondo

Attachment: 5216.patch added

Proposed patch

comment:2 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Keywords: Review? added
Owner: set to Alfonso Martínez de Lizarrondo
Status: newassigned

comment:3 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Milestone: CKEditor 3.xCKEditor 3.3

comment:4 Changed 14 years ago by Garry Yao

Keywords: Review+ added; Review? removed

What a magic.

comment:5 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Resolution: fixed
Status: assignedclosed

Fixed with [5287]

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