Opened 6 years ago

Closed 6 years ago

#5216 closed New Feature (fixed)

Provide CKEDITOR.appendTo(elementOrId, config, data)

Reported by: alfonsoml Owned by: alfonsoml
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 alfonsoml 6 years ago.
Proposed patch

Download all attachments as: .zip

Change History (6)

comment:1 Changed 6 years ago by fredck

  • Keywords Confirmed added
  • Milestone set to CKEditor 3.x

Changed 6 years ago by alfonsoml

Proposed patch

comment:2 Changed 6 years ago by alfonsoml

  • Keywords Review? added
  • Owner set to alfonsoml
  • Status changed from new to assigned

comment:3 Changed 6 years ago by alfonsoml

  • Milestone changed from CKEditor 3.x to CKEditor 3.3

comment:4 Changed 6 years ago by garry.yao

  • Keywords Review+ added; Review? removed

What a magic.

comment:5 Changed 6 years ago by alfonsoml

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with [5287]

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