Skip to main content

TinyMCE plugins for Kotti2 (Python 3.12 + SQLAlchemy 2.0)

Project description

TinyMCE plugins for Kotti2.

PyPI Version

Setup

Install the package:

pip install kotti2_tinymce

To activate the kotti_tinymce add-on in your Kotti2 site, you need to add an entry to the kotti.configurators setting in your Paste Deploy config. If you don’t have a kotti.configurators option, add one. The line in your [app:main] section could then look like this:

kotti.configurators = kotti_tinymce.kotti_configure

With this, you’ll be able to use TinyMCE in your Kotti2 site.

Find out more about Kotti2

ChangeLog

3.0.1 - 2026-04-23

  • Packaging improvements: - Fixed line ending issues in setup.py (Windows CRLF to LF conversion) - Optimized package size by excluding non-minified JavaScript files - Updated MANIFEST.in to only include .min.js files

  • Package size reduced: from ~2.3 MB to ~630 KB (~73% reduction)

  • No functional changes: This is a packaging-only release

3.0.0 - 2026-04-23

  • Package renamed to kotti2_tinymce for PyPI

  • Major version upgrade: Python 3.12 + SQLAlchemy 2.0 support

  • Require Kotti2 >= 3.0.0

  • Require kotti2_image >= 3.0.0

  • Full test coverage: 6/6 tests passing (100%)

unreleased

  • No changes yet

0.7.1 - 2018-09-14

  • Fix broken CodeMirror plugin (fixes #31).

0.7.0 - 2018-03-16

  • Fix compatibility with Kotti 2.x

  • Import Image from kotti_image if installed. kotti_image is now an optional dependency. If present, the kottiimage_plugin for TinyMCE will be activated.

  • Upgrade TinyMCE to 4.7.9

  • Upgrade CodeMirror to 5.35.0

0.6.0

  • Upgrade TinyMCE to 4.5.7

  • Upgrade CodeMirror to 5.25.0

  • Add advance bulleting options to tinymce editor, such as Roman Numerial, alphabet, etc.

0.5.4

  • Upgrade TinyMCE to 4.2.5

  • Upgrade CodeMirror to 5.7.0

0.5.3

  • Upgrade codemirror to 5.3.0 and codemirror plugin to 1.4. This fixes #26.

0.5.2

  • Upgrade TinyMCE to 4.1.10.

0.5.1

  • Bundle TinyMCE’s translation files.

0.5.0

  • Revise templates to use Bootstrap 3. THIS IS NOT BACKWARD COMPATIBLE AND WILL BREAK KOTTI < 0.10!

  • Bundle our own TinyMCE instead of relying on js.tinymce. This allows full control over the plugins.

  • Publish kotti-tinymce as Bower package. This is especially useful if you are developing a Kotti application and want to have full control over your static assets instead of relying on (often outdated or incomplete) js.whatever packages. It also make upgrade much easier.

0.4.2

  • Added abiltiy to add alt text to images via kottiimage plugin.

  • Use the new kotti_context_url JS global variable (introduced in Kotti 0.10) if it is available.

0.4.1

  • Fix broken source code editing.

0.4

  • Fix link for PyPI - the old one 404’s. (ddimmich)

  • Fix German and French translations that got marked as fuzzy. (ferewuz)

  • Update German translations, some translations got lost before. (ferewuz)

  • Move language code translations to kotti_tinymce and initialize all languages that are present in deform. (ferewuz)

0.4b4

  • Fix packaging.

0.4b3

  • Add CodeMirror plugin to regain source editing feature.

0.4b2

  • New image plugin UI with advanced image sizing. (geojeff)

0.4b1

  • Changed javascript and templates to support new version of js.tinymce (ferewuz)

0.3.2

  • Separate install_requires and tests_require.

  • Delete old tests from 0.1. Setup new funcargs based tests.

  • 100% test coverage (again) with new funcargs tests (thanks teixas!).

0.3.1

  • Fix include of kotti_tinymce.js to popup window.

0.3

  • Support js.deform (available with Kotti >= 0.8) to only include the JS when rendering a RichTextWidget.

0.2.5

  • Fix JS errors caused by calling tinyMCEPopup.onInit.add from a wrong place.

0.2.4

  • Explicitly set relative_urls to false on TinyMCE initialization. This fixes a bug when trying to add an image while adding a page.

0.2.3

  • added German translation

  • use TinyMCE’s translations

0.2.2

  • fix requirement version conflict (now: Kotti>=0.7dev)

0.2.1

  • kotti_tinymce is a direct dependency of Kotti now

  • use Kotti’s “new style” edit_needed

0.2

  • get rid of Products.TinyMCE

  • use fanstatic

  • add custom ‘kottibrowser’ TinyMCE plugin

0.1 - Unreleased

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

kotti2_tinymce-3.0.1.tar.gz (545.9 kB view details)

Uploaded Source

Built Distribution

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

kotti2_tinymce-3.0.1-py3-none-any.whl (630.8 kB view details)

Uploaded Python 3

File details

Details for the file kotti2_tinymce-3.0.1.tar.gz.

File metadata

  • Download URL: kotti2_tinymce-3.0.1.tar.gz
  • Upload date:
  • Size: 545.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for kotti2_tinymce-3.0.1.tar.gz
Algorithm Hash digest
SHA256 6cf4cf87b5e11ae988d0a2cdd526432eb2b37d47cde39e10858387a68bfb5d47
MD5 1da6bc1545451020c8ac6d1284993e23
BLAKE2b-256 86c18f099a3d0ed3924c0bbc7ecbd380eeae11423d9953816bb19315e3f2bf97

See more details on using hashes here.

File details

Details for the file kotti2_tinymce-3.0.1-py3-none-any.whl.

File metadata

  • Download URL: kotti2_tinymce-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 630.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for kotti2_tinymce-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75e698ac46428d52c213ff03d060f8e5e8d0d39808b36a0f529f4d6723c32b07
MD5 d2661b9c01a0109dd63fef24e6e35efa
BLAKE2b-256 3112f70382a096d946cbd00ffff9c16f4736500ed3173d7ba6bd17c97d6c7f6f

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