TinyMCE for hurry.resource.
Project description
hurry.tinymce
Introduction
This library packages TinyMCE for hurry.resource.
How to use?
You can import tinymce like this:
from hurry.tinymce import tinymce
And then to trigger inclusion in the web page, anywhere within your page or widget rendering code, do this:
tinymce.need()
This requires integration between your web framework and hurry.resource, and making sure that the original resources (shipped in the tinymce-build directory in hurry.tinymce) are published to some URL.
The package has already been integrated for Grok and Zope 3. If you depend on the hurry.zopetinymce package in your setup.py, the above example should work out of the box.
Preparing hurry.tinymce before release
This section is only relevant to release managers of hurry.tinymce; if you don’t know whether you are, you aren’t.
When releasing hurry.tinymce, an extra step should be taken. Follow the regular package release instructions, but before egg generation (python setup.py register sdist upload) first execute bin/tinymceprepare <version number>, where version number is the version of the TinyMCE release, such as 3.2.0.2. This will download the TinyMCE code of that version and place it in the egg.
CHANGES
3.2.0.2 (2008-10-13) (TinyMCE version: 3.2.0.2)
Initial public release.
Download
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.