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