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!
Configuration
In your settings.py you can set:
CODEMIRROR_THEME : (Optional) The name of the codemirror theme you would like to use (just the name, don't include the .css part). Will use default if not set. See: https://codemirror.net/theme/ for a list of themes.
Metadata
Release files for djangocms-rawhtml 1.3.0
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 | Actions |
|---|---|---|---|---|
| djangocms-rawhtml-1.3.0.tar.gz | 6.6 kB | Without provenance | Details for djangocms-rawhtml-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| djangocms_rawhtml-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for djangocms_rawhtml-1.3.0-py3-none-any.whl |
Total release size: 14.2 kB
Release files / djangocms-rawhtml-1.3.0.tar.gz
| Download URL | djangocms-rawhtml-1.3.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1172fce5e0f8a3d61d248a71489782a7b161d0e8823fbea22fc3e12951996782
|
|
BLAKE2b-256 checksum How to use checksums |
7769f49beb3dbe124ee9bc0f02dd452c8fd75ce667ace9fea3c5350439dd6199
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.5
|
Release files / djangocms_rawhtml-1.3.0-py3-none-any.whl
| Download URL | djangocms_rawhtml-1.3.0-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3048781704b97bf08ed63dfaa3153d03bdda085a2b7d88fc7091c3ed33152e35
|
|
BLAKE2b-256 checksum How to use checksums |
5ec02f8b486064fa1804582326e2974338b102d1f88e34d45761008c2838ef01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.5
|
Security for djangocms-rawhtml 1.3.0
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.