Skip to content

pantoken-root / renderers/tinymce/src / createComponentsPlugin

Swyddogaeth: createComponentsPlugin() ​

createComponentsPlugin(options): (editor) => void

Creu ffatri ategyn dewiswr cydrannau. Yn dychwelyd swyddogaeth sy'n addas ar gyfer tinymce.PluginManager.add().

Defnydd: tinymce.PluginManager.add( "pantokenComponents", createComponentsPlugin({ model, currentAssets, onMissingAsset }) );

Paramedrau ​

options ​

ComponentsPickerOptions

Yn dychwelyd ​

(editor) => void