Current section
Files
Jump to
Current section
Files
dist/src/hooks/editor/utils/load-editor-plugins.d.ts
import { PluginConstructor } from 'ckeditor5';
import { EditorPlugin } from '../typings';
/**
* Loads CKEditor plugins from base and premium packages.
* First tries to load from the base 'ckeditor5' package, then falls back to 'ckeditor5-premium-features'.
*
* @param plugins - Array of plugin names to load
* @returns Promise that resolves to an array of loaded Plugin instances
* @throws Error if a plugin is not found in either package
*/
export declare function loadEditorPlugins(plugins: EditorPlugin[]): Promise<PluginConstructor[]>;
//# sourceMappingURL=load-editor-plugins.d.ts.map