File Drag And Drop
Enables dragging and dropping files into EditLive! A number of file formats are supported:
- Images - gif, jpeg, tiff, png
- Inserts as an image tag. The image will be uploaded using the standard local image upload functionality.
- Text files
- Inserts the contents of the text files as plain text.
- HTML files
- Inserts the content of the HTML files, fully formatted.
- MS Word Documents (only when running on windows)
- Imports the contents of the Word documents.
- .url files (Internet Explorer bookmarks)
- Inserts a link to the bookmark target. The bookmark title is used as the link text.
Installation
Installing the Drag and Drop plug-in simply requires adding the plugin.
elj.addPlugin("dragdrop.xml");
Usage
Simply drag a file into the editor.
Dependencies
The plugindragand uses the following libraries:
- Java 1.6. If you use a lower version the plugin will gracefully refuse to load and an error will be reported to the console.
- EditLive! 6.7. The plugin has been updated to avoid internal APIs from EditLive! to help avoid incompatibilities in the future, however the user experience when dropping Word documents prior to EditLive! 6.7 is undesirable as no progress dialog is shown. As such, it is strongly recommended that EditLive! 6.7 or above is used.
Download
Get the file drag and drop plugin.
The Plugin APIs used by these plugins are only available to customers of the EditLive! Enterprise Edition.
Ephox Technical Support does not cover LiveWorks! plug-ins.
Please direct any support requests or general enquiries about any LiveWorks! code, integrations or plug-ins to the LiveWorks! mailing list. This code is released as-is with no support and no warranty and is installed at your own risk. We recommend thorough testing of any LiveWorks! project before deploying to any production system.