clinical-template-editor-hzg
Version:
一个基于 React 和 TipTap 构建的临床模板编辑器组件,专为医疗行业设计
15 lines (14 loc) • 410 B
TypeScript
import { Node } from '@tiptap/core';
import 'katex/dist/katex.min.css';
export interface MathInlineOptions {
HTMLAttributes: Record<string, any>;
}
declare module '@tiptap/core' {
interface Commands<ReturnType> {
mathInline: {
setMathInline: (latex: string) => ReturnType;
};
}
}
export declare const MathInline: Node<MathInlineOptions, any>;
export default MathInline;