This is a migrated thread and some comments may be shown as answers.

Editor Resize Issue

1 Answer 50 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Dan Ehrmann
Top achievements
Rank 1
Dan Ehrmann asked on 23 May 2014, 09:17 PM
I am working on upgrading to 2014.1.403. I use setSize() a lot, and I think there is a problem with it in the new version. After calling setSize, the editor resizes properly, but one of the tables within the editor layout (class reLayoutWrapper) is still set to its default height of 400px. This only occurs if the new height is less than 400px - if it is more, the reLayoutWrapper table is resized to match.

I resolved the problem for now with: $("table.reLayoutWrapper").height(myNewHeight);

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 26 May 2014, 11:07 AM

Hi Dan,

Thank you for reaching out. We are aware of this bug and the workaround you found is a viable solution. I created this page where you can track its progress where our workaround is also offered: http://feedback.telerik.com/Project/108/Feedback/Details/129175. The key difference is that it uses the concrete element, and not the first such element on the page. With your approach, perhaps you can add a parent element in the jQuery selector like $("table.reLayoutWrapper", editor.get_element()).height(myNewHeight); where editor is a reference to the RadEditor object.

Please accept my apologies for the inconvenience caused.


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Dan Ehrmann
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or