
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
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
.
Install via pip::
pip install djangocms-rawhtml
Add to your INSTALLED_APPS
(in settings.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!
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.
FAQs
Raw HTML Plugin for DjangoCMS with HTML code editor.
We found that djangocms-rawhtml demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.