Skip to content

pantoken-root / renderers/tinymce/src / createComponentsPlugin

Funkcja: createComponentsPlugin() ​

createComponentsPlugin(options): (editor) => void

Utwórz fabrykę wtyczki wyboru komponentów. Zwraca funkcję odpowiednią dla tinymce.PluginManager.add().

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

Parametry ​

options ​

ComponentsPickerOptions

Zwraca ​

(editor) => void