Skip to content

pantoken / renderers/tinymce/src / pantokenHtmlCompletion

Funksjon: pantokenHtmlCompletion()

pantokenHtmlCompletion(options): Extension

Lag en CodeMirror 6-autofullføringsutvidelse for pantoken HTML. Gir forslag for komponentnavn og deres modifikatorer.

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

Parametere

options

AutocompleteOptions

Returnerer

Extension