Skip to content

pantoken-root / renderers/tinymce/src / pantokenHtmlLinter

फंक्शन: pantokenHtmlLinter() ​

pantokenHtmlLinter(options): Extension

pantoken HTML के लिए CodeMirror 6 लिंटर एक्सटेंशन बनाएं। उन class attributes को मान्य करता है जिनमें .instui-* टोकन शामिल हैं।

उपयोग: new EditorView({ extensions: [ basicSetup, html(), pantokenHtmlLinter({ model }), ], });

पैरामीटर ​

options ​

PantokenLinterOptions

वापसी ​

Extension