Skip to content

pantoken / renderers/tinymce/src / createComponentsPlugin

دالة: createComponentsPlugin()

createComponentsPlugin(options): (editor) => void

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

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

المعلمات

options

ComponentsPickerOptions

القيم المرجعة

(editor) => void