Skip to content

pantoken-root / renderers/tinymce/src / createComponentsPlugin

دالة: createComponentsPlugin() ​

createComponentsPlugin(options): (editor) => void

إنشاء مصنع ملحق أداة اختيار المكونات. يُرجع دالة مناسبة لـ tinymce.PluginManager.add().

الاستخدام: tinymce.PluginManager.add( "pantokenComponents", createComponentsPlugin({ model, currentAssets, onMissingAsset }) );

Parameters ​

options ​

ComponentsPickerOptions

Returns ​

(editor) => void