UNPKG

react-latex-editor

Version:

A professional React rich text editor with mathematical equation support, built on TipTap with MathLive integration. Production-ready with TypeScript support, accessibility features, and industrial-grade error handling.

22 lines 1.84 kB
export { Editor } from './components/Editor'; export { default as Viewer } from './components/Viewer'; export { default as ErrorBoundary } from './components/ErrorBoundary'; export type { EditorProps, EditorRef } from './components/Editor'; export type { MathfieldElement } from './types/mathlive'; export type { EditorContent, EditorTheme, MathEquation, ImageConfig, EditorState, EditorEventHandlers, ExportOptions, ValidationResult, } from './types/editor'; export { addImage, getEditorProps, insertMath } from './utils'; export { getEditorExtensions } from './utils/editorConfig'; export { ensureMathLiveLoaded } from './types/mathlive'; export { validateLatex, sanitizeHtml, extractTextFromHtml, countWords, formatFileSize, debounce, throttle, checkBrowserSupport, deepClone, isContentEmpty, generateId, } from './utils/helpers'; export { useEditorKeyboard } from './hooks/useEditorKeyboard'; export { useEditorState, useEditorAutoSave, useEditorSelection, useEditorHistory, } from './hooks/useEditorState'; export { useResponsive } from './hooks/useResponsive'; export { default as MathNode } from './extensions/MathNode'; export { default as InlineMath } from './extensions/InlineMath'; export { default as ResizableImageExtension } from './extensions/ResizableImageExtension'; export { default as ImageGroup } from './extensions/ImageGroup'; export { default as CustomTextStyle } from './extensions/CustomTextStyle'; export { default as BackgroundColor } from './extensions/BackgroundColor'; export { default as ResizableYoutubeExtension } from './extensions/ResizableYoutubeExtension'; export { DEFAULT_CONFIG, MATH_DELIMITERS, KEYBOARD_SHORTCUTS, SUPPORTED_IMAGE_FORMATS, MAX_FILE_SIZE, EDITOR_LIMITS, DEFAULT_COLORS, FONT_FAMILIES, FONT_SIZES, HEADING_LEVELS, Z_INDEX, } from './constants/config'; //# sourceMappingURL=index.d.ts.map