erl-mathtextx-editor 0.1.2 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,8 +1,16 @@
1
1
  /**
2
- * @mathtextx/editor — Visual Math Editor for Solutest.id
2
+ * erl-mathtextx-editor — Visual Math Editor for Solutest.id
3
3
  *
4
4
  * CKEditor replacement with zero-LaTeX visual math input.
5
5
  * Built with TipTap (ProseMirror) + MathLive.
6
+ *
7
+ * @example Basic usage:
8
+ * ```tsx
9
+ * import { MathTextXEditor } from 'erl-mathtextx-editor'
10
+ * import 'erl-mathtextx-editor/styles'
11
+ *
12
+ * <MathTextXEditor onChange={(html) => console.log(html)} />
13
+ * ```
6
14
  */
7
15
  export { MathTextXEditor } from './MathTextXEditor';
8
16
  export type { MathTextXEditorProps, ToolbarItem, MathToolbarItem, EducationLevel, OutputFormat, ToolbarMode, ToolbarButtonConfig, MathTemplate, SymbolCategory, SymbolItem, } from './types';
@@ -10,6 +18,10 @@ export { getHTML, getJSON, sanitizeCKEditorHTML, toCompatibleHTML } from './core
10
18
  export { createExtensions } from './core/extensions';
11
19
  export { MathInlineNode, MathBlockNode } from './math/MathNodes';
12
20
  export { SymbolPalette } from './math/SymbolPalette';
21
+ export { MathTypeDialog } from './math/MathTypeDialog';
22
+ export type { MathTypeDialogProps } from './math/MathTypeDialog';
23
+ export { TemplatePanel } from './math/TemplatePanel';
24
+ export type { TemplatePanelProps } from './math/TemplatePanel';
13
25
  export { MainToolbar } from './toolbar/MainToolbar';
14
26
  export { MathToolbar } from './toolbar/MathToolbar';
15
27
  export { ContentViewer } from './viewer/ContentViewer';