Skip to content

pantoken-root / renderers/tinymce/src / createComponentsPlugin

Funktion: createComponentsPlugin() ​

createComponentsPlugin(options): (editor) => void

Erstellt die Factory für das Komponenten-Auswahl-Plugin. Gibt eine Funktion zurück, die für tinymce.PluginManager.add() geeignet ist.

Verwendung: tinymce.PluginManager.add( "pantokenComponents", createComponentsPlugin({ model, currentAssets, onMissingAsset }) );

Parameter ​

options ​

ComponentsPickerOptions

Rückgabe ​

(editor) => void