erl-mathtextx-editor 0.3.0 → 0.3.2
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/CHANGELOG.md +20 -0
- package/README.md +542 -542
- package/dist/{CellPropertiesDialogImpl-DroCD-qw.js → CellPropertiesDialogImpl-CgRJUUSC.js} +1 -1
- package/dist/{ImageInsertDialog-BprAxxIR.js → ImageInsertDialog-DbUscLs1.js} +104 -100
- package/dist/{InsertTableDialogImpl-U7g8UMBM.js → InsertTableDialogImpl-CWM11lNz.js} +1 -1
- package/dist/{LinkDialogImpl-Cs1v0Vgd.js → LinkDialogImpl-DrEasmBM.js} +1 -1
- package/dist/{TablePropertiesDialogImpl-BmdThHz3.js → TablePropertiesDialogImpl-BPcKuKCT.js} +1 -1
- package/dist/{TableTemplatesDialogImpl-CglXYCPV.js → TableTemplatesDialogImpl-DYrlbe5p.js} +1 -1
- package/dist/assets/erl-mathtextx-editor.css +1 -1
- package/dist/assets/viewer.css +1 -1
- package/dist/components/UploadErrorDebugPanel.d.ts +6 -0
- package/dist/erl-mathtextx-editor.js +28 -24
- package/dist/erl-mathtextx-editor.umd.cjs +3748 -0
- package/dist/{index-7QYcLP1s.js → index-CHqs4QOj.js} +2413 -2348
- package/dist/{index-Cv7EVaSA.js → index-CVlS1KL8.js} +1 -1
- package/dist/{index-DLjIKZ3J.js → index-DYrjnSa6.js} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/utils/uploadError.d.ts +8 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,26 @@ All notable changes to `erl-mathtextx-editor` will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.3.2] - 2026-07-07
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **LaTeX Paste Support** — Paste LaTeX equations from clipboard into the editor
|
|
13
|
+
- Detects `text/latex` MIME type and plain-text LaTeX patterns (`\frac`, `\sqrt`, `$$`, etc.)
|
|
14
|
+
- Inserts as `mathInline` node when pasting in regular text
|
|
15
|
+
- Passes through to MathLive native paste when cursor is inside a math field
|
|
16
|
+
- `paste` event listener on `<math-field>` prevents ProseMirror from intercepting
|
|
17
|
+
|
|
18
|
+
- **Upload Error Debug** — Better diagnostics when `onImageUpload` fails
|
|
19
|
+
- `UploadError` class with structured `debug` payload
|
|
20
|
+
- Collapsible debug panel in Image Insert dialog and drag-and-drop error toast
|
|
21
|
+
- `logUploadError()`, `getUploadErrorDebug()`, `formatUploadErrorDebug()` utilities exported from package
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- **Image Upload Error Handling** — Drag-and-drop upload no longer fails silently; shows user-visible error with debug details
|
|
26
|
+
- **Image Insert After Upload** — Image is still inserted even when dimension probing fails after a successful upload
|
|
27
|
+
|
|
8
28
|
## [0.3.0] - 2026-06-18
|
|
9
29
|
|
|
10
30
|
### Added
|