erl-mathtextx-editor 0.1.9 → 0.2.0

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.
Files changed (29) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +294 -109
  3. package/dist/{CellPropertiesDialogImpl-DBgs-7H9.js → CellPropertiesDialogImpl-5BptFKaE.js} +1 -1
  4. package/dist/{ContentViewer-CsFSAN_B.js → ContentViewer-RijJ5nlJ.js} +15 -14
  5. package/dist/{ImageInsertDialog-B24KHrgt.js → ImageInsertDialog-Cc7wpIjM.js} +27 -25
  6. package/dist/{InsertTableDialogImpl-B6_PRu5m.js → InsertTableDialogImpl-BJFXRnQX.js} +1 -1
  7. package/dist/{LinkDialogImpl-BTA8u_qQ.js → LinkDialogImpl-Cu032Nc7.js} +1 -1
  8. package/dist/MathTextXEditor.d.ts +1 -1
  9. package/dist/{TablePropertiesDialogImpl-CuRRWS4H.js → TablePropertiesDialogImpl-YBNdKM7k.js} +1 -1
  10. package/dist/{TableTemplatesDialogImpl-CU8seEdV.js → TableTemplatesDialogImpl-P54y5q-u.js} +2 -2
  11. package/dist/assets/erl-mathtextx-editor.css +1 -1
  12. package/dist/assets/viewer.css +1 -1
  13. package/dist/components/ErrorBoundary.d.ts +18 -0
  14. package/dist/components/ImageEditDialog.d.ts +0 -1
  15. package/dist/components/TableMenu.d.ts +4 -1
  16. package/dist/erl-mathtextx-editor.js +2 -2
  17. package/dist/erl-mathtextx-editor.umd.cjs +345 -115
  18. package/dist/index-C9scFI1r.js +16549 -0
  19. package/dist/{index-UCSefQk0.js → index-D0Rzm7Tg.js} +4338 -3839
  20. package/dist/{index-CB1g0gXh.js → index-DJrUW7HG.js} +1 -1
  21. package/dist/toolbar/MainToolbar.d.ts +2 -0
  22. package/dist/toolbar/MathToolbar.d.ts +3 -1
  23. package/dist/types/index.d.ts +3 -1
  24. package/dist/utils/docxImporter.d.ts +31 -0
  25. package/dist/utils/pasteHandler.d.ts +14 -3
  26. package/dist/{viewer-deps-CjbAqdti.js → viewer-deps-BDYoL2Ts.js} +5794 -3489
  27. package/dist/viewer.js +1 -1
  28. package/package.json +2 -1
  29. package/dist/extensions/TableAlignPlugin.d.ts +0 -7
package/dist/viewer.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as r } from "./ContentViewer-CsFSAN_B.js";
1
+ import { C as r } from "./ContentViewer-RijJ5nlJ.js";
2
2
  export {
3
3
  r as ContentViewer
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "erl-mathtextx-editor",
3
- "version": "0.1.9",
3
+ "version": "0.2.0",
4
4
  "description": "Visual math editor component for solutest.id — CKEditor replacement with zero-LaTeX approach",
5
5
  "type": "module",
6
6
  "main": "./dist/erl-mathtextx-editor.umd.cjs",
@@ -69,6 +69,7 @@
69
69
  "jspdf": "^4.1.0",
70
70
  "katex": "^0.16.33",
71
71
  "lowlight": "^3.3.0",
72
+ "mammoth": "^1.12.0",
72
73
  "mathlive": "^0.101.0"
73
74
  },
74
75
  "devDependencies": {
@@ -1,7 +0,0 @@
1
- import { Extension } from '@tiptap/core';
2
- /**
3
- * Plugin that applies table alignment styles to the table wrapper element
4
- * in the editor. This is needed because ProseMirror's table plugin renders
5
- * the table directly without using renderHTML.
6
- */
7
- export declare const TableAlignPlugin: Extension<any, any>;