Skip to content

pantoken / renderers/tinymce/src / pantokenHtmlLinter

Function: pantokenHtmlLinter()

pantokenHtmlLinter(_options): Extension

Create a CodeMirror 6 linter extension for pantoken HTML. Validates class attributes containing .instui-* tokens.

Usage: new EditorView({ extensions: [ basicSetup, html(), pantokenHtmlLinter({ model }), ], });

Parameters

_options

PantokenLinterOptions

Returns

Extension