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

Is it possible to give the HTML Editor a resize grip?

7 Answers 111 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Uwe
Top achievements
Rank 1
Uwe asked on 19 Aug 2013, 06:31 AM
Successfully using the HTML Editor, I would like to give my users the ability to resize the editor window (like shown in the attachment scribble).



My question:

Is it possible to turn on this functionality or simulate it in some way (maybe something with splitter?)

7 Answers, 1 is accepted

Sort by
0
Accepted
Alex Gyoshev
Telerik team
answered on 21 Aug 2013, 06:37 AM
Hello Uwe,

This functionality is not currently supported out of the box, but you can achieve it through the kendo draggable. Here is a jsBin that shows how.

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
Uwe
Top achievements
Rank 1
answered on 21 Aug 2013, 07:46 AM
That's phantastic Alex, thanks a lot!

It looks a bit strange when having a scrollbar visible; as a start to further adjust to my needs, that is really just what I wanted.

Thanks again
Uwe
0
Shaun
Top achievements
Rank 1
answered on 27 Feb 2014, 03:23 AM
Hmm the jsbin works great in chrome, but not at all in IE or FF (latest of each).  

Any cross browser solution?
0
Dimo
Telerik team
answered on 27 Feb 2014, 02:26 PM
Hi Shaun,

Here is it:

http://jsbin.com/gadokuzu/1/edit

There were two issues with the first demo:

1. Some browsers don't like absolutely positioned elements inside table elements and display them in the wrong place. This required an additional Editor parent <div> (with a position:relative style), which will hold the resize handle and the overlay.

2. Internet Explorer 10 did not provide e.clientY as mousemove event argument, so a different route was taken for this case.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Shaun
Top achievements
Rank 1
answered on 02 Mar 2014, 07:43 PM
Hi Dimo,

Thanks!  It doesnt seem to work in IE11 though...

-Shaun
0
Alex Gyoshev
Telerik team
answered on 03 Mar 2014, 08:31 AM
Hello Shaun,

This problem is fixed in the latest builds. Here's the snippet with the latest release.

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
Dimo
Telerik team
answered on 07 Apr 2014, 07:13 AM
Hi all,

Here is an update, which enhances the example in three ways:

1. Horizontal resizing is implemented.
2. Multiple Editors are supported.
3. The Javascript code is refactored, so that it can be reused more easily when using server-side wrappers.

http://trykendoui.telerik.com/@dimodi/Ehas

Regards,
Dimo
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
Uwe
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Uwe
Top achievements
Rank 1
Shaun
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or