Skip to content

pantoken / renderers/tinymce/src / createComponentsPlugin

Fonksiyon: createComponentsPlugin()

createComponentsPlugin(options): (editor) => void

Bileşen seçici eklenti fabrikası oluşturur. tinymce.PluginManager.add() için uygun bir fonksiyon döndürür.

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

Parametreler

options

ComponentsPickerOptions

Döndürür

(editor) => void