Skip to content

pantoken-root / renderers/tinymce/src / createComponentsPlugin

Συνάρτηση: createComponentsPlugin() ​

createComponentsPlugin(options): (editor) => void

Δημιουργεί το εργοστάσιο plugin επιλογέα συστατικών. Επιστρέφει μια συνάρτηση κατάλληλη για tinymce.PluginManager.add().

Χρήση: tinymce.PluginManager.add( "pantokenComponents", createComponentsPlugin({ model, currentAssets, onMissingAsset }) );

Παράμετροι ​

options ​

ComponentsPickerOptions

Επιστρέφει ​

(editor) => void