@sqx717/element-tiptap-vue3-fixed
Version:
🌸A modern WYSIWYG rich-text editor using tiptap and Element Plus for Vue3
16 lines (15 loc) • 437 B
TypeScript
import { Extension } from '@tiptap/core';
export interface LineHeightOptions {
types: string[];
lineHeights: string[];
}
declare module '@tiptap/core' {
interface Commands<ReturnType> {
lineHeight: {
setLineHeight: (lineHeight: string) => ReturnType;
unsetLineHeight: () => ReturnType;
};
}
}
declare const LineHeight: Extension<LineHeightOptions, any>;
export default LineHeight;