Skip to content

pantoken / renderers/tinymce/src / createComponentsPlugin

함수: createComponentsPlugin()

createComponentsPlugin(options): (editor) => void

컴포넌트 선택기 플러그인 팩토리를 생성합니다. tinymce.PluginManager.add()에 적합한 함수를 반환합니다.

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

매개변수

options

ComponentsPickerOptions

반환값

(editor) => void