#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 )
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
comment:2 Changed 10 years ago by
Milestone: | → CKEditor 4.5.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Summary: | Unable to instantiate new widget with predefined data → Unable 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
Description: | modified (diff) |
---|
I've created a pull request for a fix for this bug:
https://github.com/ckeditor/ckeditor-dev/pull/152