Skip to content

*DISCONTINUED* A cmsplugin similar to the text plugin, just with the redactor editor

License

Notifications You must be signed in to change notification settings

bitlabstudio/djangocms-text-redactor

Repository files navigation

Important

This app has been discontinued and is no longer maintained.

Django-cms Text Redactor

A django-cms plugin that displays text and uses the [Redactor](http://imperavi.com/redactor) editor for editing.

Note that Redactor requires a license, therefore it is not included in this repository.

Installation

To get the latest stable release from PyPi

pip install djangocms-text-redactor

To get the latest commit from GitHub

pip install -e git+git://github.com/bitmazk/djangocms-text-redactor.git#egg=djangocms_text_redactor

Add djangocms_text_redactor to your INSTALLED_APPS

INSTALLED_APPS = (
    ...,
    'djangocms_text_redactor',
)

Add the app's URLs to your urls.py

urlpatterns += patterns(
    '',
    url(r'^djangocms-text-redactor/', include('djangocms_text_redactor.urls')),
    ...
)

Don't forget to migrate your database

./manage.py migrate djangocms_text_redactor

Make sure that you include the redactor CSS and JS files in the CMS template that should contain the Redactor plugin.

Make sure to set the settings DJANGOCMS_TEXT_REDACTOR_IMAGE_UPLOAD_URL and DJANGOCMS_TEXT_REDACTOR_IMAGE_GET_JSON_URL to the url names of the two views that handle this (see Redactor documentation).

Usage

Add the Redactor plugin to one of your placeholders. It will have some sane default settings. You can leave the settings for toolbarExternal, imageUpload and imageGetJson as they are because they will be set according to your settings.

Contribute

If you want to contribute to this project, please perform the following steps

# Fork this repository
# Clone your fork
mkvirtualenv -p python2.7 djangocms-text-redactor
make develop

git co -b feature_branch master
# Implement your feature and tests
git add . && git commit
git push -u origin feature_branch
# Send us a pull request for your feature branch

About

*DISCONTINUED* A cmsplugin similar to the text plugin, just with the redactor editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published