erl-mathtextx-editor 0.2.0 → 0.2.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 +32 -0
- package/README.md +448 -453
- package/dist/{CellPropertiesDialogImpl-5BptFKaE.js → CellPropertiesDialogImpl-D-qjxrs5.js} +40 -40
- package/dist/{ImageInsertDialog-Cc7wpIjM.js → ImageInsertDialog-BUX79-_G.js} +1 -1
- package/dist/{InsertTableDialogImpl-BJFXRnQX.js → InsertTableDialogImpl-DfGvKwP4.js} +25 -25
- package/dist/{LinkDialogImpl-Cu032Nc7.js → LinkDialogImpl-BQEObyL2.js} +57 -57
- package/dist/MathTextXEditor.d.ts +1 -1
- package/dist/TablePropertiesDialogImpl-CDWcoc-Y.js +56 -0
- package/dist/TableTemplatesDialogImpl-BUSPvt83.js +64 -0
- package/dist/assets/erl-mathtextx-editor.css +1 -1
- package/dist/assets/viewer.css +1 -1
- package/dist/components/ImageEditDialog.d.ts +3 -0
- package/dist/components/useDraggable.d.ts +7 -0
- package/dist/core/serializer.d.ts +8 -0
- package/dist/erl-mathtextx-editor.js +1 -1
- package/dist/erl-mathtextx-editor.umd.cjs +178 -178
- package/dist/{index-D0Rzm7Tg.js → index-BHhpSW1p.js} +4656 -4825
- package/dist/{index-DJrUW7HG.js → index-D7JFZLgA.js} +1 -1
- package/dist/{index-C9scFI1r.js → index-DBnDkAIP.js} +1 -1
- package/dist/toolbar/toolbar-config.d.ts +22 -0
- package/dist/toolbar/toolbar-icons.d.ts +53 -0
- package/dist/toolbar/useDialogManager.d.ts +45 -0
- package/dist/useDraggable-DEoLIB5k.js +34 -0
- package/package.json +1 -1
- package/dist/TablePropertiesDialogImpl-YBNdKM7k.js +0 -56
- package/dist/TableTemplatesDialogImpl-P54y5q-u.js +0 -64
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,38 @@ 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
|
|
9
|
+
|
|
10
|
+
### Added
|
|
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
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
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)
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- **IndentBackspace** — Perbaikan backspace behavior di awal paragraph dengan indentasi
|
|
38
|
+
- **Serializer** — Improved HTML serialization untuk table elements
|
|
39
|
+
|
|
8
40
|
## [0.2.0] - 2026-05-13
|
|
9
41
|
|
|
10
42
|
### Added
|