Completed
Last Updated: 18 Apr 2022 14:45 by ADMIN
DavidS
Created on: 18 Aug 2015 13:50
Category: Editor
Type: Feature Request
1
Provide ability to insert local images into RadEditor without reference to server space
Another post appears as "Provide ability to paste/insert images from clipboard/local drive directly into RadEditor" and talks about similar but to date a facility does not exis as I envisage.

When I work with for example a web mail facility like Yahoo Mail I am using an editor like RadEditor to create my email. When I say I want to attach a file this editor assumes that the file will come from my local drive (rather than a Yahoo server). This is what I would like to see as an option for Radeditor image handling - something like a button that says "upload". Clicking on it takes you to a dialogue to simply upload from local into the document. I appreciate that uploading from local can be done with existing Radeditor Image manager but this also offers access to server space that in the case of e.g. web mail is irrelevant and confusing.

In an ideal world I would also like the uploaded document to be automatically associated with the document (email) that it has been loaded into although that can of course be handled manually.



2 comments
ADMIN
Rumen
Posted on: 18 Apr 2022 14:44

Hi 

You can implement drag and drop over the editor content area in a similar way shown in this RadAsyncUpload demo: Drag and Drop, e.g.

<telerik:RadEditor runat="server" ID="RadEditor1" ContentAreaMode="Div"></telerik:RadEditor>
<telerik:RadAsyncUpload RenderMode="Lightweight" runat="server" ID="RadAsyncUpload1" MultipleFileSelection="Automatic" DropZones=".DropZone1,.reContentArea"  />
<div class="DropZone1">
    <p>Custom Drop Zone</p>
    <p>Drop Files Here</p>
</div>


In this case the editable div content area has a class name of reContentArea so you can set this value to the DropZones property of RadAsyncUpload. 

Another option is to use the Image Manager or the Document Manager which accept file drag and drop too:

You can find more information at https://www.telerik.com/forums/drag-and-drop-files-to-radtext-editor-in-webforms

Regards,
Rumen
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/.

ADMIN
Rumen
Posted on: 07 Jun 2016 07:34
Related to: http://feedback.telerik.com/Project/108/Feedback/Details/27507-provide-ability-to-paste-insert-images-from-clipboard-local-drive-directly-into-r