Skip to content

App that allows you to easily add WYMEditor to you django forms and admin.

License

Notifications You must be signed in to change notification settings

KevinBrolly/django-WYMEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-WYMEditor

This application will allow you to use WYMEditor on your django TextFields.

Inspired by django-tinymce - https://github.com/aljosa/django-tinymce

Usage

Add the application to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'wymeditor',
)

The easiest way to use the widget is to use the WYMEditorField in your model:

from django.db import models
from wymeditor.models import WYMEditorField

class MyModel(models.Model):
    html_content = WYMEditorField()

To customize the editor you can use the WYMEDITOR_CONFIG setting:

WYMEDITOR_CONFIG = {
    'classesItems': [
        {'name': 'example_class', 'title': 'Example Class', 'expr': 'p'}
    ],
}

License

This program is licensed under the MIT License.

WYMEditor is dual licensed under MIT and GPL licenses.

About

App that allows you to easily add WYMEditor to you django forms and admin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages