UNPKG

@textbus/editor

Version:

Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.

15 lines (14 loc) 822 B
import { Attribute, Component, Formatter } from '@textbus/core'; import { AttributeLoader, ComponentLoader, FormatLoader } from '@textbus/platform-browser'; import { EditorOptions } from './types'; import { Editor } from './editor'; import { ToolFactory } from './toolbar/_api'; export declare const defaultComponentLoaders: ComponentLoader[]; export declare const defaultFormatLoaders: FormatLoader<any>[]; export declare const defaultAttributeLoaders: AttributeLoader<any>[]; export declare const defaultComponents: Component[]; export declare const defaultFormatters: Formatter<any>[]; export declare const defaultAttributes: Attribute<any>[]; export declare const defaultOptions: EditorOptions; export declare const defaultTools: ToolFactory[][]; export declare function createEditor(options?: EditorOptions): Editor;