Kendo Editor: drag and drop DIV

1 Answer 120 Views
Editor
Leonid
Top achievements
Rank 1
Leonid asked on 03 Nov 2021, 03:26 PM
Is it possible to drag and drop a DIV into Kendo Editor for Angular2 and not just an image ?

1 Answer, 1 is accepted

Sort by
0
Martin Bechev
Telerik team
answered on 08 Nov 2021, 09:11 AM

Hello Leonid,

Currently, such an option is not supported by Kendo UI for Angular Editor component. Frankly said the widget does not support dropping an image directly into the Editor's content either.

Please cast your vote on the already present feature request about dropping an image in the Editor:

https://feedback.telerik.com/kendo-angular-ui/1409529-allow-users-to-add-inline-images-in-the-angular-editor-i-e-automatically-encode-and-add-the-result-to-the-src-attribute-of-an-image-tag-as-the-images-are-pasted

Meanwhile, what I could suggest at this point is to integrate the Kendo UI for jQuery Editor in an Angular app, where dropping an image is supported.

https://www.telerik.com/kendo-angular-ui/components/framework/kendo-jquery/

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Leonid
Top achievements
Rank 1
commented on 08 Nov 2021, 03:15 PM

Martin,

I'm not concerned about INLINE images. The drag and and drop of a "standard" image with a src and draggable attributes set works perfectly fine. The image is accepted by the editor and rendered in its body correctly. I also found a workaround for non-images to be dropped and converted into img elements on the fly, but it may be more of a hack as it is not officially supported by the product.

Thank you,

--

Leonid

Tags
Editor
Asked by
Leonid
Top achievements
Rank 1
Answers by
Martin Bechev
Telerik team
Share this question
or