Raw HTML Plugin for DjangoCMS with HTML code editor.
Project description
djangcms-rawhtml
DjangoCMS Plugin that lets you insert raw HTML code into a page.
A raw HTML plugin may be a bit of a CMS anti-pattern, but every now and then there are times when inserting a little block of HTML code is needed to get a job done quickly.
This Plugin combines the ideas of cmsplugin-raw-html <https://github.com/makukha/cmsplugin-raw-html>
_
with code-editor-django-admin <https://mr-coffee.net/blog/code-editor-django-admin>
_ by giving
you a nice HTML editor CodeMirror <http://codemirror.net/>
_ to edit the code in rather than
a default TextField
.
Installation
-
Install via pip:
pip install djangocms-rawhtml
-
Add to your
INSTALLED_APPS
(insettings.py
):INSTALLED_APPS = ( ... 'djangocms_rawhtml', ... )
-
Run migrations:
python manage.py migrate djangocms_rawhtml
-
"Raw HTML" should now be available as a plugin in the CMS!
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
Built Distribution
Hashes for djangocms_rawhtml-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd604fa11ce4e6dc6c2010c9cd9b0e0d5a726543bd7b2cb139f81920c7f8d61e |
|
MD5 | b1c7fc7a0775301502d267e2e18b25b1 |
|
BLAKE2b-256 | 124564203bcac86808de8d6c0df5ccf021aab25a0c7d488d6c8ea96b8c081e7e |