se7enxweb / mugo_codemirror
eZ Publish extension based solution to allow editing HTML code within content objects with specially designed codemirror content editor.
Fund package maintenance!
se7enxweb
Patreon
www.paypal.me/7xweb
account.venmo.com/u/se7enxweb
cash.app/$7xweb
se7enx.com
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 1
Open Issues: 0
Language:JavaScript
Type:ezpublish-legacy-extension
Requires
This package is auto-updated.
Last update: 2024-10-29 10:37:41 UTC
README
This extension contains a new datatype to store HTML code in an class attribute. The datatype is extending the eztext datatype. There are two differences:
- The output (
view.tpl
) is not escaped (nowash()
operator) - The input (
edit.tpl
) uses the javascript library codemirror
"CodeMirror is a versatile text editor implemented in JavaScript for the browser. It is specialized for editing code, and comes with a number of language modes and addons that implement more advanced editing functionality."
Currently, the extension only allows to edit HTML, CSS and Javascript code.