mugoweb/codemirror

eZ Datatype to allow editing HTML code

Maintainers

Package info

github.com/mugoweb/mugo_codemirror

Language:JavaScript

Type:ezpublish-legacy-extension

pkg:composer/mugoweb/codemirror

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

dev-master 2020-12-20 09:47 UTC

This package is not auto-updated.

Last update: 2026-03-07 11:53:25 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 (no wash() 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.