quill
Version:
Your powerful, rich text editor
9 lines (8 loc) • 343 B
TypeScript
import { ClassAttributor } from 'parchment';
declare class IndentAttributor extends ClassAttributor {
add(node: HTMLElement, value: string | number): boolean;
canAdd(node: HTMLElement, value: string): boolean;
value(node: HTMLElement): number | undefined;
}
declare const IndentClass: IndentAttributor;
export default IndentClass;