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 }) );

पैरामीटर ​

options ​

ComponentsPickerOptions

वापसी ​

(editor) => void