Skip to content

pantoken-root / renderers/tinymce/src / createComponentsPlugin

Fall: createComponentsPlugin() ​

createComponentsPlugin(options): (editor) => void

Býr til verksmiðju fyrir komponentaval (components picker) viðbótina. Skilar falli sem hentar fyrir tinymce.PluginManager.add().

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

Færibreytur ​

options ​

ComponentsPickerOptions

Skilar ​

(editor) => void