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

Editor Auto Resize

2 Answers 114 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 13 Apr 2017, 09:16 PM

Hello,

I am currently using Kendo as a simple text editor inside a web form.  I am using it in 2 places 1 is editable and 1 is view only.  I am doing it this way because of the default styling of the html that is saved renders the same on the view only box.  Is there any way to resize the view only box to the size of the content in classic mode?

Thanks,

2 Answers, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 17 Apr 2017, 11:49 AM
Hello Aaron,

I am not sure if I understood correctly your requirement. Do you need to resize automatically the Kendo Editor preview area according to its content? If this the case, I am afraid, that the desired could not be achieved by configuring the widget.

What I could suggest you is to review the default styling of the Editor and check if loading custom stylesheets could help you in achieving the desired result.

Regards,
Veselin Tsvetanov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Aaron
Top achievements
Rank 1
answered on 17 Apr 2017, 04:24 PM

[quote]Veselin Tsvetanov said:Hello Aaron,

I am not sure if I understood correctly your requirement. Do you need to resize automatically the Kendo Editor preview area according to its content? If this the case, I am afraid, that the desired could not be achieved by configuring the widget.

What I could suggest you is to review the default styling of the Editor and check if loading custom stylesheets could help you in achieving the desired result.

Regards,
Veselin Tsvetanov
Telerik by Progress

Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.

[/quote]

 

This is exactly what I am trying to achieve.  I was hoping there was built in functionality for this that I was overlooking.  I will continue to resolve this issue and re-post if I find a solution.

Thanks,

Aaron

Tags
Editor
Asked by
Aaron
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Aaron
Top achievements
Rank 1
Share this question
or