Skip to main content

A Plone add-on that adds image drag and drop to TinyMCE 4 in Plone.

Project description

Latest Version Egg Status https://img.shields.io/pypi/pyversions/kcrw.tinymce_imagedrop.svg?style=plastic:alt:Supported-PythonVersions License

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

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.1 2020-11-24

  • Updates to image insertion markup. [alecpm]

1.0 2020-11-24

  • Initial release. [alecpm]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kcrw.tinymce_imagedrop-1.0.1.tar.gz (13.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page