Skip to content

pantoken / renderers/tinymce/src / pantokenHtmlCompletion

Function: pantokenHtmlCompletion()

pantokenHtmlCompletion(options): Extension

Create a CodeMirror 6 autocomplete extension for pantoken HTML. Provides completions for component names and their modifiers.

Usage: new EditorView({ extensions: [ basicSetup, html(), pantokenHtmlCompletion({ model }), ], });

Parameters

options

AutocompleteOptions

Returns

Extension