forked from ard/ruoyi-api

‘liusuyi’
2023-05-06 6f09936092d5b567cd5a04e18a2fdfa195b1f2bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import AttributorStore from '../../attributor/store';
import { Blot, Parent, Formattable } from './blot';
import ContainerBlot from './container';
declare class FormatBlot extends ContainerBlot implements Formattable {
    protected attributes: AttributorStore;
    static formats(domNode: HTMLElement): any;
    constructor(domNode: Node);
    format(name: string, value: any): void;
    formats(): {
        [index: string]: any;
    };
    replaceWith(name: string | Blot, value?: any): Blot;
    update(mutations: MutationRecord[], context: {
        [key: string]: any;
    }): void;
    wrap(name: string | Parent, value?: any): Parent;
}
export default FormatBlot;