Opened 9 years ago

Closed 9 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:


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 9 years ago by Piotrek Koszuliński

Component: GeneralDocumentation & Samples
Keywords: widget sdk tutorial removed
Status: newpending
Version: 4.4.5

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?

comment:2 Changed 9 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed
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