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

Auto re-size Kendo Editor Height

8 Answers 1383 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 16 Oct 2012, 03:57 AM
Currently in my application, all textareas auto-resize (vertically) as content is added. We use the opensource jquery.autogrow-textarea.js to auto-resize all textarea by simply using the code:

$('textarea').autogrow();

However Kendo Editor does not autogrow as we require. How can I make editor to auto grow as users enter more content? I think Telerik Ajax editor has a similar function? 

Kindly help me with this if there is any solution to this. Thank you.
   

8 Answers, 1 is accepted

Sort by
0
JohnVS
Top achievements
Rank 1
answered on 10 Jun 2013, 05:03 PM
This is a great question. Mark, did you ever get an answer or find a solution for this?
0
Alex Gyoshev
Telerik team
answered on 11 Jun 2013, 09:34 AM
This feature will be part of the inline editor functionality scheduled for 2013.Q2. You will be able to initialize the editor from a contentEditable <div>, which will grow automatically as content is inserted.
 

Regards,
Alex Gyoshev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Shehab
Top achievements
Rank 1
answered on 21 Aug 2014, 05:03 PM
Good morning,
Have this been implemented? What are the control properties that need to be adjusted to apply auto resize?
Thanks,
Shehab
0
Alex Gyoshev
Telerik team
answered on 22 Aug 2014, 07:36 AM
Hello Shehab,

Yes, see the inline editing demo. If you need this functionality for the sandboxed editor, I'm afraid that it is not available, nor scheduled.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Shehab
Top achievements
Rank 1
answered on 25 Aug 2014, 02:03 PM
Thank you Alex, would it be possible to frame the Inline Editor just to friendly indicate it is a text box?
Thanks,
Shehab
0
Alex Gyoshev
Telerik team
answered on 25 Aug 2014, 03:18 PM
Hello Shehab,

You can apply any styling to the inline editor element, directly in the page, for example:

#editor { border: 3px solid #000 }

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Dongsheng
Top achievements
Rank 1
answered on 31 Jul 2018, 09:02 AM

Hi Alex,

 

Is there any solution for auto-grow in a classic editor now (July 2018)?

0
Veselin Tsvetanov
Telerik team
answered on 03 Aug 2018, 05:39 AM
Hello Dongsheng,

I am afraid that the discussed functionality is yet not available for the classic Kendo Editor. If you think that such feature would add value to the widget, I would suggest you to cast your vote for the following feature request.

Regards,
Veselin Tsvetanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Editor
Asked by
Mark
Top achievements
Rank 1
Answers by
JohnVS
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Shehab
Top achievements
Rank 1
Dongsheng
Top achievements
Rank 1
Veselin Tsvetanov
Telerik team
Share this question
or