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 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