@textbus/editor
Version:
Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.
11 lines (10 loc) • 478 B
TypeScript
import { Injector } from '@tanbo/di';
import { ComponentInstance } from '@textbus/core';
import { DropdownTool, DropdownToolConfig } from '../toolkit/_api';
export interface ComponentCreator {
example: string | HTMLElement;
name: string;
factory(injector: Injector): ComponentInstance | Promise<ComponentInstance>;
}
export declare function componentsToolConfigFactory(injector: Injector): DropdownToolConfig;
export declare function componentsTool(): DropdownTool;