react-latex-editor
Version:
A powerful React rich text editor with mathematical equation support, built on TipTap with MathLive integration
21 lines • 564 B
TypeScript
export interface EditorToolbarProps {
/**
* The Tiptap editor instance
*/
editor: any;
/**
* Whether the editor is in read-only mode
*/
readOnly?: boolean;
/**
* Callback function to open the math dialog
* */
onMathDialogOpen?: () => void;
/**
* Callback function for image selection
*/
onImagePicker?: () => void;
}
declare const EditorToolbar: (props: EditorToolbarProps) => import("react/jsx-runtime").JSX.Element;
export default EditorToolbar;
//# sourceMappingURL=EditorToolbar.d.ts.map