数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

22 lines
691 B

import { Editor, Location, Node } from '..';
export interface TextTransforms {
delete: (editor: Editor, options?: {
at?: Location;
distance?: number;
unit?: 'character' | 'word' | 'line' | 'block';
reverse?: boolean;
hanging?: boolean;
voids?: boolean;
}) => void;
insertFragment: (editor: Editor, fragment: Node[], options?: {
at?: Location;
hanging?: boolean;
voids?: boolean;
}) => void;
insertText: (editor: Editor, text: string, options?: {
at?: Location;
voids?: boolean;
}) => void;
}
export declare const TextTransforms: TextTransforms;
//# sourceMappingURL=text.d.ts.map