@textbus/editor
Version:
Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.
10 lines (9 loc) • 388 B
TypeScript
import { Injector } from '@tanbo/di';
import { ComponentInstance, QueryState } from '@textbus/core';
import { ListComponentExtends } from '../../../components/_api';
export declare function listToolCreator(injector: Injector, type: 'ul' | 'ol'): {
queryState(): QueryState<ComponentInstance<ListComponentExtends>>;
onClick(): void;
toParagraph(): void;
toList(): void;
};