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