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

How to embed an resizable Editor in a Splitter?

3 Answers 124 Views
Editor
This is a migrated thread and some comments may be shown as answers.
xu
Top achievements
Rank 1
xu asked on 01 Jul 2012, 01:07 PM
Is there any way to do this? Thanks very much!

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 02 Jul 2012, 12:49 PM
Hi Xu,

The Kendo UI Editor expands and shrinks horizontally automatically, simply do not set any width.

As for the automatic vertical adjustment, you can apply a 100% height to the Editor's <table> element. However, in Internet Explorer you will need to adjust the height of the <iframe>'s parent <td class="k-editable-area"> element. Do it in the Splitter's resize event.

If you need further assistance, please submit a new support ticket.

Greetings,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jesse
Top achievements
Rank 2
answered on 06 Jul 2012, 06:51 PM
I'm having a similar issue on getting the editor to re-size horizontally inside the panelbar.
0
Dimo
Telerik team
answered on 09 Jul 2012, 07:29 AM
Hi all,

With regard to horizontal resizing, it turns out you need to clear the Editor's width explicitly, because the widget assumes the width of the textarea element:

$("#editor").kendoEditor();
$(".k-editor").width("");


All the best,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Editor
Asked by
xu
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Jesse
Top achievements
Rank 2
Share this question
or