Skip to content

pantoken / renderers/tinymce/src / pantokenHtmlLinter

Funkcja: pantokenHtmlLinter()

pantokenHtmlLinter(_options): Extension

Utwórz rozszerzenie lintera CodeMirror 6 dla pantoken HTML. Weryfikuje atrybuty class zawierające tokeny .instui-*.

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

Parametry

_options

PantokenLinterOptions

Zwraca

Extension