Skip to content

pantoken-root / 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