Opened 10 years ago
Closed 10 years ago
#12558 closed Bug (expired)
problem on widget_sdk_tutorial_2 example from CKEditor 4 Developer's Guide
Reported by: | johnwaynerui | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Documentation & Samples | Version: | |
Keywords: | Cc: |
Description
There is a problem with the widget_sdk_tutorial_2 example.As i followed the steps to develop a widget,actually i can not get the expected result.The problem is when i click the source view after insert a widget(in this example is a <div class="simplebox"),the width attribute which i typed in the dialog is not actually set to the div and the div displays as default.When i change the template to <div class="simplebox" style="width:300px">,it works.So i guess there is a problem in the code:
var width = this.element.getStyle( 'width' );
if ( width ) this.setData( 'width', width );
which is from simplebox/plugin.js.Cause this bug appears in the guide part which is so important for CKEditor new learner (like me),i hope core team can fix this as soon as possible.Cheer up and thank you guys so much for providing us such great editor!
Change History (2)
comment:1 Changed 10 years ago by
Component: | General → Documentation & Samples |
---|---|
Keywords: | widget sdk tutorial removed |
Status: | new → pending |
Version: | 4.4.5 |
comment:2 Changed 10 years ago by
Resolution: | → expired |
---|---|
Status: | pending → closed |
Hey. Thanks for reporting. I checked the guide right now and it seems to be fine. Could you attach your plugin.js and dialog file?