Skip to main content

Integrates ACE editor into Plone

Project description

Introduction

This package contains resources for integrating ACE embeddable code editor into Plone. It provides a file manager that can edit plone.resource resource directories in the ZODB.

ACE can be found under ++resource++plone.resourceeditor/ace/*.

The file manager can be included in a view with the following in the header:

<metal:block use-macro="resourceDirectory/@@plone.resourceeditor.filemanager/macros/resources" />

and the following in the body:

<metal:block use-macro="resourceDirectory/@@plone.resourceeditor.filemanager/macros/filemanager">

In both of these cases, resourceDirectory should be an in-ZODB plone.resource resource directory instance.

The macros assume that jQuery is already loaded.

Versions

2.x is for Plone 5.0 and up.

Changelog

4.0.2 (2025-09-10)

Internal:

  • Move distribution to src layout [gforcada] (#4217)

4.0.1 (2023-10-07)

Internal:

  • Update configuration files. [plone devs] (cfffba8c)

4.0.0 (2023-04-27)

Breaking changes:

  • Drop python 2.7 compatibility. [gforcada] (#1)

Internal:

  • Update configuration files. [plone devs] (2a4ba395)

3.0.4 (2022-08-30)

Bug fixes:

  • Fix unclosed file warnings [petschki] (#29)

3.0.3 (2020-09-28)

Bug fixes:

  • Fixed invalid escape sequences. [maurits] (#3130)

3.0.2 (2020-04-22)

Bug fixes:

  • Minor packaging updates. (#1)

3.0.1 (2020-03-13)

Bug fixes:

  • Do not call processInputs. It is not needed since Zope 4, and not existing in Zope 5. [maurits] (#26)

3.0.0 (2019-02-13)

Breaking changes:

  • Move all resources for plone.staticresources. See: PLIP 1653. [thet] (#22)

Bug fixes:

  • fix UnicodeDecodeError while using Build CSS in Theme Editor #2698 [MrTango] (#2698)

2.1.3 (2018-11-02)

Bug fixes:

  • Fix UnicodeDecodeError when saving files TTW. [tmassman]

2.1.2 (2018-09-28)

Bug fixes:

  • Fix functionality and tests in py3 [pbauer]

2.1.1 (2018-02-02)

Bug fixes:

  • Add Python 2 / 3 compatibility [pbauer]

2.1 (2017-07-18)

New features:

  • Add the download and move endpoint to the FileManagerActions class [b4oshany]

  • Add test cases for FileManagerAction [b4oshany]

2.0.6 (2017-07-03)

Fixes:

  • Remove unittest2 dependency [kakshay21]

  • Split the error message for the move API endpoint into two. One is for the parent folder and the other is for the destination folder [b4oshany]

  • Fix Jenkins flake8 errors

[b4oshany]: https://github.com/b4oshany

2.0.5 (2016-03-31)

Fixes:

  • Cleanup code according to Plone style guide. [gforcada]

  • Do not crash on saving in FilesystemResourceDirectory, and return the file content as ‘tmp’. [ebrehault]

2.0.4 (2015-10-28)

Fixes:

  • No longer rely on deprecated bobobase_modification_time from Persistence.Persistent. [thet]

  • Minor cleanup: pep8, readability, ReST. [jensens]

  • Fixed problem causing file timestamps to show up incorrectly. [obct537]

  • Fixed error preventing file saving in the filemanager. [obct537]

2.0.3 (2015-09-27)

  • handle NotFound errors while generating file/folder listings [vangheem]

2.0.2 (2015-09-08)

  • Added check to prevent overwriting folders when saving [obct537]

2.0.1 (2015-08-22)

  • Added ability to convert absolute to relative urls [obct537]

  • Fixed issue with ascii encoding [obct537]

  • now properly serves filesystem files to the thememapper [obct537]

  • resourceeditor will now register non-standard mimetypes in the python mimetype module [obct537]

2.0.0 (2015-03-21)

  • move to mockup based file manager. Plone 5 only here. [vangheem]

1.0 (2013-05-23)

  • make sure theme is disable [vangheem]

  • do not set value inside of pre tag since it can go crazy on some markup [vangheem]

1.0b4 (2013-01-01)

  • Fixed a bug with saving files containing non-ASCII characters. [optilude]

1.0b3 (2012-10-16)

  • Fix right click menu bug [optilude]

  • Upgrade to latest version of ACE [optilude]

1.0b2 (2012-08-08)

  • Upgrade to version 1.0 of the ACE editor [optilude]

1.0b1 (2012-08-08)

  • Initial release [optilude]

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

plone_resourceeditor-4.0.2.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plone_resourceeditor-4.0.2-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file plone_resourceeditor-4.0.2.tar.gz.

File metadata

  • Download URL: plone_resourceeditor-4.0.2.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for plone_resourceeditor-4.0.2.tar.gz
Algorithm Hash digest
SHA256 dab6c5c3806aee959b1bc06e851748d9548a42043eaf538b22c9f299501e93ca
MD5 785370c93d40f707fb82555dea0b8188
BLAKE2b-256 1289d7e104b68d6498b5923542bd26e452431d19221787a0754770a6e9076d6b

See more details on using hashes here.

File details

Details for the file plone_resourceeditor-4.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for plone_resourceeditor-4.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 99a8a2f4d93e8a334272af0a3a5fd9f33ba0f2c99da7bcbb5a2d15103f5bc22a
MD5 aa145d642198cca122f91ced27659773
BLAKE2b-256 51db4d7e005d63bcc967250f037bc3df83aa860b6a450925a1dc8fd76d893c51

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