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.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 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.3.tar.gz (611.4 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-2.1.3-py2-none-any.whl (608.5 kB view details)

Uploaded Python 2

File details

Details for the file plone.resourceeditor-2.1.3.tar.gz.

File metadata

  • Download URL: plone.resourceeditor-2.1.3.tar.gz
  • Upload date:
  • Size: 611.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.11

File hashes

Hashes for plone.resourceeditor-2.1.3.tar.gz
Algorithm Hash digest
SHA256 11ee0c825f1ab05350c2c2857d861746f7a24b1180fed7e91677b476b1295d3a
MD5 f0158ba07dd50500940115e33378d3f8
BLAKE2b-256 7beb381dbcbf3b9738452b84ef6fdff7af95566963692f02137c750d99c02a17

See more details on using hashes here.

File details

Details for the file plone.resourceeditor-2.1.3-py2-none-any.whl.

File metadata

  • Download URL: plone.resourceeditor-2.1.3-py2-none-any.whl
  • Upload date:
  • Size: 608.5 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.11

File hashes

Hashes for plone.resourceeditor-2.1.3-py2-none-any.whl
Algorithm Hash digest
SHA256 2fd7ba2d7a9f984bba950197c9851c01cfdf60dfdf31a12fd2ffd97c4a026766
MD5 e20d075155fa33b5aa06204eb2f2b3a7
BLAKE2b-256 4314fe7e2623ec77f42d04e01582cc672be7fe45a64bcbc5671e19f1e4e13e2f

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