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

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 distination 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 overwritting 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-2.1.2.tar.gz (611.3 kB view hashes)

Uploaded Source

Built Distribution

plone.resourceeditor-2.1.2-py2-none-any.whl (608.5 kB view hashes)

Uploaded Python 2

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