Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#12770 closed Bug (fixed)

Unable to instantiate new widget with predefined data using widget's command

Reported by: Tieme Owned by:
Priority: Normal Milestone: CKEditor 4.5.0 Beta
Component: UI : Widgets Version: 4.3 Beta
Keywords: Cc:

Description (last modified by Piotrek Koszuliński)

According to the execCommand docs it should be possible to provide data to the execCommand http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-execCommand

But when using this code none of that data ends up in the newly created widget, or in it's init or data methods

   editor.execCommand( 'simplebox', { startupData: { align: 'right', opened: false } } );

Change History (3)

comment:1 Changed 10 years ago by Tieme

I've created a pull request for a fix for this bug:

https://github.com/ckeditor/ckeditor-dev/pull/152

comment:2 Changed 10 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.5.0
Resolution: fixed
Status: newclosed
Summary: Unable to instantiate new widget with predefined dataUnable to instantiate new widget with predefined data using widget's command
Version: 4.4.7 (GitHub - master)4.3 Beta

This feature has been proposed also in https://github.com/ckeditor/ckeditor-dev/pull/145 and was merged to major with git:2dbc4f3.

comment:3 Changed 10 years ago by Piotrek Koszuliński

Description: modified (diff)
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