erl-mathtextx-editor 0.2.2 → 0.2.4

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,37 +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.2.2] - 2026-05-20
8
+ ## [0.2.4] - 2026-05-26
9
9
 
10
10
  ### Added
11
11
 
12
- - **🖐️ Draggable Dialogs** — Semua dialog (MathType, Link, Image, Table, Cell Properties, Table Properties, Table Templates) sekarang bisa di-drag bebas
13
- - Hook `useDraggable` untuk drag behavior yang konsisten
14
- - Drag handle di header setiap dialog
15
- - Posisi dialog tersimpan saat drag
16
- - **🌐 Localized Table Dialogs** — Dialog insert/edit table dalam Bahasa Indonesia
17
- - Insert Table, Table Properties, Cell Properties, Table Templates
18
- - Label, placeholder, dan pesan error diterjemahkan
19
- - **🔣 Enhanced Math Symbols** — Symbol palette diperluas
20
- - Tambahan simbol matematika untuk kategori yang ada
21
- - MathToolbar dengan konfigurasi yang lebih fleksibel
12
+ - **useDraggable Hook** — Reusable drag hook for dialog positioning
13
+ - **Table Theme Classes** — CustomTable extension now renders `data-theme` as CSS class (`mtx-table--plain`, etc.)
14
+ - **Popup Clamping** Dialog popups now clamp within viewport bounds
22
15
 
23
- ### Changed
16
+ ### Fixed
24
17
 
25
- - **💅 TipTap Table CSS** — Perbaikan styling table untuk tampilan yang lebih rapi
26
- - Border, spacing, dan hover state yang lebih konsisten
27
- - Resizable column handle yang lebih jelas
28
- - Selected cell highlight yang lebih visible
29
- - **🔧 MainToolbar Refactoring** — Arsitektur toolbar data-driven
30
- - Konfigurasi toolbar via `toolbar-config.ts` (Basic/Advanced/Olimpiade)
31
- - Icon SVG ter-ekstrak di `toolbar-icons.tsx`
32
- - Dialog state management terpusat via `useDialogManager` hook
33
- - Kode lebih bersih dan mudah maintain (~430 lines, turun dari 1311)
18
+ - **Inline Math Space** — Spacebar now inserts `\,` (LaTeX thin space) instead of literal space
19
+ - Literal spaces were ignored by LaTeX math mode
20
+ - `\text{ }` caused nesting and character escaping on consecutive spaces
21
+ - `\,` avoids cursor ambiguity and nesting
34
22
 
35
- ### Fixed
23
+ ### Changed
36
24
 
37
- - **IndentBackspace** — Perbaikan backspace behavior di awal paragraph dengan indentasi
38
- - **Serializer** — Improved HTML serialization untuk table elements
25
+ - **Toolbar Refactored** — Extracted `toolbar-config.ts`, `toolbar-icons.tsx`, `useDialogManager.ts` from MainToolbar
26
+ - **Dialog Components** — CellProperties, ImageEdit, InsertTable, Link, TableProperties, TableTemplates now use `useDraggable`
27
+ - **Editor CSS** — Refactored editor stylesheet
39
28
 
40
29
  ## [0.2.0] - 2026-05-13
41
30