django-markitup-widget icondjango-markitup-widget 0.1 RC3

Django's textarea like widget for using markItUp! on textarea
django-markitup-widget is a Django app, a widget for using markItUp! on Django's Textarea.

Install:

        sudo pip install django-markitup-widget

or

        git clone git://github.com/alisue/django-markitup-widget.git
        sudo pip install django-markitup-widget/


or download repository and copy it to somewhere in PYTHON_PATH

You may need to copy `templates/markitup` directory to your TEMPLATE_DIRS

How to Use:

1.      First, you need to specified `MARKITUP_PATH` on `settings.py`
        `MARKITUP_PATH` is the URI of markItUp! directory like `MARKITUP_PATH = r"javascript/markitup"`
2.      Use `markitup.widgets.MarkItUpTextarea` widgets for target Textarea like below

                from django import forms
                from markitup.widgets import MarkItUpTextarea

                markitup = MarkItUpTextarea(
                        set='default',
                        style='simple',
                )
                document = forms.TextField(widget=markitup)


Settings:

`MARKITUP_PATH`
:       the URI for markItUp! directory (required)

`MARKITUP_DEFAULT_SET`
:       the default set name (DEFAULT: default)

`MARKITUP_DEFAULT_SKIN`
:       the default skin name (DEFAULT: simple)

last updated on:
June 13th, 2011, 12:32 GMT
price:
FREE!
developed by:
Alisue
license type:
BSD License 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT