Skip to content

pantoken / renderers/tinymce/src / pantokenHtmlLinter

함수: pantokenHtmlLinter()

pantokenHtmlLinter(_options): Extension

pantoken HTML용 CodeMirror 6 린터 확장을 생성합니다. .instui-* 토큰을 포함하는 class 속성을 검증합니다.

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

매개변수

_options

PantokenLinterOptions

반환값

Extension