Metadata-Version: 2.4
Name: kotti2_tinymce
Version: 3.0.1
Summary: TinyMCE plugins for Kotti2 (Python 3.12 + SQLAlchemy 2.0)
Home-page: https://github.com/Kotti/kotti_tinymce
Author: Andreas Kaiser
Author-email: disko@binary-punks.com
License: BSD
Keywords: tinymce image browser kotti kotti2 cms
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Framework :: Pylons
Classifier: Framework :: Pyramid
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/x-rst
Requires-Dist: Kotti2>=3.0.0
Provides-Extra: testing
Requires-Dist: kotti2_image>=3.0.0; extra == "testing"
Requires-Dist: WebTest; extra == "testing"
Requires-Dist: mock; extra == "testing"
Requires-Dist: Pillow; extra == "testing"
Requires-Dist: pyquery; extra == "testing"
Requires-Dist: pytest>=6.0.0; extra == "testing"
Requires-Dist: pytest-cov; extra == "testing"
Requires-Dist: tox; extra == "testing"
Requires-Dist: zope.testbrowser>=5.0.0; extra == "testing"
Provides-Extra: development
Requires-Dist: check-manifest; extra == "development"
Requires-Dist: pipdeptree; extra == "development"
Requires-Dist: pyramid_debugtoolbar; extra == "development"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: summary

==============
kotti2_tinymce
==============

TinyMCE plugins for Kotti2.

.. image:: https://img.shields.io/pypi/v/kotti2_tinymce.svg?style=flat-square
    :target: https://pypi.org/project/kotti2_tinymce/
    :alt: 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`_

.. _Find out more about Kotti2: https://pypi.org/project/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
----------------

