UNPKG

@sqx717/element-tiptap-vue3-fixed

Version:

🌸A modern WYSIWYG rich-text editor using tiptap and Element Plus for Vue3

21 lines (20 loc) • 524 B
import { Extension } from '@tiptap/core'; export type FontSizeOptions = { types: string[]; }; declare module '@tiptap/core' { interface Commands<ReturnType> { fontSize: { /** * Set the font size */ setFontSize: (fontSize: string) => ReturnType; /** * Unset the font size */ unsetFontSize: () => ReturnType; }; } } declare const FontSize: Extension<FontSizeOptions, any>; export default FontSize;