Skip to main content

HTML Editor

A CodeMirror 5 wrapper for editing HTML, CSS, or other code with syntax highlighting, line numbers, linting, and optional personalization support.

See API

HTML editor

vce-html-editor [line-numbers line-wrapping mode]

Preview
Config
Mode

Sets the CodeMirror language mode.

Line Numbers

Shows line numbers in the gutter.

Line Wrapping

Enables line wrapping.

Single Line

Constrains the editor to a single line.

Lint

Enables the CodeMirror lint plugin.

Disabled

Prevents the editor from accepting input.

Auto Refresh

Enables the CodeMirror auto-refresh plugin.