A Plone add-on that adds image drag and drop to TinyMCE 4 in Plone.
Project description
kcrw.tinymce_imagedrop
kcrw.tinymce_imagedrop is a Plone add-on which allows users to drag and drop images into TinyMCE 4. Dropping images will automatically create Image content in the Plone site and render them in the WYSIWYG using UID references.
This add-on supports Plone 5.x and Plone 4.3 (with TinyMCE 4 enabled via plone.app.widgets).
Features
Provides a Javascript Plugin for TinyMCE which handles uploading images via a browser view
Provides a Plone browser view @@create-dropped-images which creates Image content in the nearest container allowed.
The view can be overriden to customize the image type, the image creation location, or the markup used for the images.
Installation
Install kcrw.tinymce_imagedrop by adding it to your buildout:
[buildout] ... eggs = kcrw.tinymce_imagedrop
and then running bin/buildout. On Plone 5+ you must install the add-on from the Add-ons control panel, on Plone 4.3 (with plone.app.widgets) it will be enabled automatically via a monkey patch when added to your buildout.
Contribute
Issue Tracker: https://github.com/KCRW-org/kcrw.tinymce_imagedrop/issues
Source Code: https://github.com/KCRW-org/kcrw.tinymce_imagedrop
License
The project is licensed under the GPLv2.
Credits
This add-on was created by Alec Mitchell <alecpm@gmail.com> with support from KCRW
Changelog
1.0 (unreleased)
Initial release. [alecpm]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for kcrw.tinymce_imagedrop-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08920658cc352b043b92af36d8e1dd0e7fc7e1ec443c62f119197bf15f86a3c1 |
|
MD5 | a269cc2aeeaf601f3520828062ccc8ac |
|
BLAKE2b-256 | 19ae074b40ca6a93fa3b723615d571aaa16631a5c371c0eca90aaf5785108ca9 |