django-tinymce-4
Integrate TinyMCE4 in Django projects with Django Filebrowser
Features
Support only TinyMCE4.
Support Django Filebrowser.
Install
pip install django-tinymce-4
Add applications to INSTALLED_APPS in settings.py for your project (order is important):
INSTALLED_APPS = (
'tinymce_4',
'grappelli',
'filebrowser',
'django.contrib.admin',
)
Add the Django Filebrowser site to your url-patterns (before any admin-urls):
url(r'^grappelli/', include('grappelli.urls')),
url(r'^admin/', include([
url(r'^', include(admin.site.urls)),
url(r'^filebrowser/', include(fb_site.urls)),
])),
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 plugins: /tinymce_4/static/tinymce_4/settings/full/external_plugins.js
Templates: /tinymce_4/static/tinymce_4/settings/full/templates.js
Demo
cd django-tinymce-4/example/
pip install -r requirements.txt
python manage.py runserver
Contributing
Create an issue to discuss about your idea
Fork it
Create your feature branch: git checkout -b new-feature
Commit your changes: git commit -am ‘Add some feature’
Push to the branch: git push origin new-feature
Create a new Pull Request
Profit!
Setup environment
Install npm packages
cd django-tinymce-4/
npm install
Run example
cd django-tinymce-4/example
python manage.py runserver
Build css
gulp css
Branches
master - latest release branch
develop - development branch for new releases
Metadata
Release files for django-tinymce-4 0.0.27
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-tinymce-4-0.0.27.tar.gz | 1.4 MB | Without provenance | Details |
Release files / django-tinymce-4-0.0.27.tar.gz
| Download URL | django-tinymce-4-0.0.27.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4ffb343353cd61726bf775eef8d6a8002ff2c3ac23f31e647335327a9c1f47c
|
|
BLAKE2b-256 checksum How to use checksums |
fe1ac09c2743fb1581c602faf6d23e0ed831732ef18d9cdda12ee8c65f01ca8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Security for django-tinymce-4 0.0.27
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.