Skip to content

pantoken-root / renderers/tinymce/src / pantokenHtmlLinter

関数: pantokenHtmlLinter() ​

pantokenHtmlLinter(options): Extension

pantoken HTML のための CodeMirror 6 用リンター拡張を作成します。 .instui-* トークンを含む class 属性を検証します。

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

パラメーター ​

options ​

PantokenLinterOptions

戻り値 ​

Extension