TinyMCE javascript editor packaged as a Grok resource library.
Project description
megrok.tinymce: tinymce packaged for Grok
This is a Grok extension that packages TinyMCE, a Javascript HTML WYSIWYG editor control.
Simply include megrok.tinymce as a dependency in your project’s setup.py to make it available in your project.
To construct URLs to TinyMCE javascript libraries, use something like this:
<script type="text/javascript" tal:attributes="src context/@@/TinyMCE/tiny_mce.js"></script>
Alternatively you can also declare that your template or Python code needs the widget somewhere in the code path that’s executed during the display of the page. In a page template this looks like this:
<tal:block replace="resource_library:TinyMCE"/>
In Python code you can do the following:
from megrok.tinymce import TinyMCE def mywidgetcode(): ... TinyMCE.need() ...
Changes
3.1.0.1.1 (2008-08-07, TinyMCE release date: 2008-06-18)
Turn off zip-safe-ness in setup.py. This makes this package actually get registered properly using z3c.autoinclude.
3.1.0.1 (2008-08-07, TinyMCE release date: 2008-06-18)
Package version 3.1.0.1 of TinyMCE.
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 megrok.tinymce-3.1.0.1.1.tar.gz
.
File metadata
- Download URL: megrok.tinymce-3.1.0.1.1.tar.gz
- Upload date:
- Size: 386.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a6074bf5624b09ac33c3832b3419af6939598c5d933b477d266c58a0ffe6d28 |
|
MD5 | 4f4bb11b1da1400a7fd753703343f9a1 |
|
BLAKE2b-256 | c1a4bd8bca3f3c238f2362de26896f40dc73b62d744f292bcdfaae77e6131f72 |