Skip to content

pantoken-root / renderers/tinymce/src / createComponentsPlugin

Funzione: createComponentsPlugin() ​

createComponentsPlugin(options): (editor) => void

Crea la fabbrica del plugin per il selettore dei componenti. Restituisce una funzione adatta a tinymce.PluginManager.add().

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

Parametri ​

options ​

ComponentsPickerOptions

Restituisce ​

(editor) => void