Skip to content

pantoken / renderers/tinymce/src / createComponentsPlugin

Funkcija: createComponentsPlugin()

createComponentsPlugin(options): (editor) => void

Ustvari tovarno vtičnika za izbirnik komponent. Vrača funkcijo, primerno za tinymce.PluginManager.add().

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

Parametri

options

ComponentsPickerOptions

Vrne

(editor) => void