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