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. Starting with version 3.2.3.0.1 you do not need hurry.zopetinymce anymore. Instead it is sufficient to depend on the hurry.zoperesource package in your setup.py.
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.3.9.4 (2011-09-07)
Upgrade to TinyMCE version 3.3.9.4
Add ability to specify additional languages which are downloaded and installed to TinyMCE. By default, german is installed additionally.
Change download behaviour to match the current TinyMCE download infrastructure.
Pin version of hurry.recource to 0.9.1 because newer version have incompatible api changes.
3.2.3.1 (2009-05-04) (TinyMCE version: 3.2.3)
Upgrade to TinyMCE version 3.2.3.
Add ZCML configuration from hurry.zopetinymce. With Zope you can now use hurry.tinymce without additional hurry.zopetinymce. Please make sure, however, that hurry.zoperesource is available at runtime.
Modified prepare.py to also cope with changed directory structure of TinyMCE 3.2.3.
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.
Source Distribution
File details
Details for the file hurry.tinymce-3.3.9.4.tar.gz
.
File metadata
- Download URL: hurry.tinymce-3.3.9.4.tar.gz
- Upload date:
- Size: 489.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbfbb7a6ffb41e2544b1c58b3028924edfa0a61a6ca31e24ce923c964b9e26b8 |
|
MD5 | 462a26f8a1894c2bbb0308e5115a8eb1 |
|
BLAKE2b-256 | 1e9374a0415a526ac4cc1a3d3091cc850d1bca6c7923b474588326cf8e5da92f |