Editor Height

1 Answer 315 Views
Editor
Colin
Top achievements
Rank 1
Colin asked on 10 May 2022, 04:46 PM
I am programmatically creating and filling multiple editors.  After I assign the contents of each editor, I would like to have the editor shrink or expand its height to fit the contents.  How can this be don?

1 Answer, 1 is accepted

Sort by
0
Mihaela
Telerik team
answered on 13 May 2022, 10:52 AM

Hello Colin,

You could switch the Editor to Inline mode to render it without an iframe. In this way, its height becomes dynamic based on its content. 

Here is a REPL example for your reference:

https://netcorerepl.telerik.com/GGafFHbu51TGolRb53


Regards, Mihaela Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Editor
Asked by
Colin
Top achievements
Rank 1
Answers by
Mihaela
Telerik team
Share this question
or