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