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 (unreleased)

  • 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.tar.gz (13.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: kcrw.tinymce_imagedrop-1.0.tar.gz
  • Upload date:
  • Size: 13.1 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.tar.gz
Algorithm Hash digest
SHA256 08920658cc352b043b92af36d8e1dd0e7fc7e1ec443c62f119197bf15f86a3c1
MD5 a269cc2aeeaf601f3520828062ccc8ac
BLAKE2b-256 19ae074b40ca6a93fa3b723615d571aaa16631a5c371c0eca90aaf5785108ca9

See more details on using hashes here.

Supported by

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