element-tiptap-vue3-niyuta
Version:
Rich-text editor build by baidu api and tiptap
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;