Skip to content

Commit

Permalink
Add docs and update CHANGES.txt for richtext wdgt deform.widget.RichT…
Browse files Browse the repository at this point in the history
…extWidget.
  • Loading branch information
Reed OBrien committed Aug 16, 2010
1 parent a894f22 commit e288b25
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGES.txt
Expand Up @@ -18,6 +18,15 @@ Bug Fixes

- Fix link to imperative schema within in Colander docs within "Basics".

- Remove duplicate ``deform.widget.DateInputWidget`` class definition.

Features
~~~~~~~~

- Add a ``deform.widget.RichTextWidget`` widget, which adds the
TinyMCE WYSIWIG javascript editor to a text area.


0.3
---

Expand Down
7 changes: 6 additions & 1 deletion deform/widget.py
Expand Up @@ -267,7 +267,12 @@ class TextAreaWidget(TextInputWidget):
class RichTextWidget(TextInputWidget):
"""
Renders a ``<textarea>`` widget with the
`TinyMCE WYSIGIG Editor <http://tinymce.moxiecode.com/index.php>`_.
:term:`TinyMCE Editor`.
To use this widget the :term:`TinyMCE Editor` library must be
provided in the page where the widget is rendered. A version of
:term:`TinyMCE Editor` is included in deform's static directory.
**Attributes/Arguments**
Expand Down
3 changes: 3 additions & 0 deletions docs/api.rst
Expand Up @@ -67,6 +67,9 @@ Widget-Related
.. autoclass:: TextAreaWidget
:members:

.. autoclass:: RichTextWidget
:members:

.. autoclass:: CheckboxWidget
:members:

Expand Down
10 changes: 10 additions & 0 deletions docs/glossary.rst
Expand Up @@ -100,3 +100,13 @@ Glossary
exception or returns ``None``. Used in deform as the
``validator=`` argument to a schema node, ensuring that the input
meets the requirements of the schema.

TinyMCE Editor
`TinyMCE <http://tinymce.moxiecode.com/index.php>`_ is a platform
independent web based Javascript HTML WYSIWYG editor control
released as Open Source under `LGPL
<http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>`_ by
`Moxiecode Systems AB <http://www.moxiecode.com/>`_. It
has the ability to convert HTML TEXTAREA fields or other HTML
elements to editor instances. TinyMCE is very easy to integrate
into other Content Management Systems.

0 comments on commit e288b25

Please sign in to comment.