/** * FontSizeExtension — inline mark that applies a font-size via TextStyle. * * Uses the `style` attribute on `` tags, compatible with TextStyle. * Commands: `setFontSize(size)`, `unsetFontSize()`. */ import { Extension } from '@tiptap/core'; export interface FontSizeOptions { types: string[]; } declare module '@tiptap/core' { interface Commands { fontSize: { /** Set the font size (e.g. '16px'). */ setFontSize: (size: string) => ReturnType; /** Remove font size, reverting to default. */ unsetFontSize: () => ReturnType; }; } } export declare const FontSizeExtension: Extension; //# sourceMappingURL=font-size.d.ts.map