Skip to main content

Integrate TinyMCE 4 in Django projects.

Project description

django-tinymce-4

Integrate TinyMCE4 in Django projects.

Features

Install

Install package from current repo:

pip install git+git://github.com/ITCase-django/django-tinymce-4

Add application in project settings (order is important):

INSTALLED_APPS = (
    ...,
    'tinymce_4',
    'grappelli',
    'filebrowser',
    'django.contrib.admin',
    ...
)

Usage

from tinymce_4.fields import TinyMCEModelField
from django.db import models

class ModelFoo(models.Model):
    content = TinyMCEModelField('Foo content')

Custom Settings

  • Base Settings: /tinymce_4/static/tinymce_4/settings/full/setings.js

  • Menu: /tinymce_4/static/tinymce_4/settings/full/menu.js

  • Plugins: /tinymce_4/static/tinymce_4/settings/full/plugins.js

  • External plugin: /tinymce_4/static/tinymce_4/settings/full/external_plugins.js

  • Templates: /tinymce_4/static/tinymce_4/settings/full/templates.js

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-tinymce-4-0.0.17.tar.gz (1.4 MB view details)

Uploaded Source

File details

Details for the file django-tinymce-4-0.0.17.tar.gz.

File metadata

File hashes

Hashes for django-tinymce-4-0.0.17.tar.gz
Algorithm Hash digest
SHA256 525eb4507e8b552654726e5eed714cd3e2da62e36b8bf19cbfd3c23dc39f622e
MD5 66f61bd8e4d6b0847b3949cd174b3437
BLAKE2b-256 0ee687e2a3f122256ef0d67283a1f97c3f91b5f7248d2cfb4b56170c5486fe99

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page