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 details)

Uploaded Source

File details

Details for the file kcrw.tinymce_imagedrop-1.0.1.tar.gz.

File metadata

  • Download URL: kcrw.tinymce_imagedrop-1.0.1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.6.1 requests/2.18.4 setuptools/27.3.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.18

File hashes

Hashes for kcrw.tinymce_imagedrop-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ad1771d1c70f9ad039e9f9b2c5f97e4fa73f7ad6be2e23ed0971f458fdd3b984
MD5 45c4c17f15628374c6076783a867e54f
BLAKE2b-256 50802141c8a3d3e7b9e83ee869d37a24df8464e6371148f72b1fb1870334eb39

See more details on using hashes here.

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