Opened 8 years ago

Closed 8 years ago

#14560 closed Bug (invalid)

Widget cannot resize according to parent.

Reported by: sweta Owned by:
Priority: Normal Milestone:
Component: UI : Widgets Version: 4.5.9
Keywords: Cc:

Description

I have created table with one td as a ckeditor widget. Set this table into the one panel "FirstPnl" of fixed size.[i.e. 200x200]. now If I required this widget to move into another panel of big size "SecondPnl".[i.e. 500x300] then table widget is not resizing according to "SecondPnl" size.[width and height].

Again I want to move again this table widget back to "FirstDiv" and reset table's width and height according to "FirstPnl".

So,How can I make this possible? Any help will be appreciated.

Change History (1)

comment:1 Changed 8 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

I'm sorry but this is not the right place to ask your custom implementation questions. You should ask them at Stack Overflow.

I'm not familiar with widgets providing any auto-resize capabilities so this is something you will need to implement on your own either through CSS or JS and CSS.
It's not the same but we have introduced manual resizing for Enhanced Image widget which you can see here: http://ckeditor.com/demo#widgets.
You could for example try getting the size of the table cell when your widget is dropped into it and assign that size to the widget box but how are you going to implement this is really up to you.

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