@hufe921/canvas-editor 1.0.3 → 1.0.5
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 +37 -0
- package/README.md +8 -8
- package/dist/assets/value-CLcLo2uw.js.map +1 -1
- package/dist/canvas-editor.js +2307 -2010
- package/dist/canvas-editor.js.map +1 -1
- package/dist/canvas-editor.umd.cjs +35 -35
- package/dist/canvas-editor.umd.cjs.map +1 -1
- package/dist/src/editor/core/draw/Draw.d.ts +10 -0
- package/dist/src/editor/core/draw/IncrementalRowComputer.d.ts +43 -0
- package/dist/src/editor/core/draw/particle/date/DatePicker.d.ts +1 -0
- package/dist/src/editor/core/position/Position.d.ts +3 -2
- package/dist/src/editor/interface/Control.d.ts +4 -0
- package/dist/src/editor/interface/Draw.d.ts +22 -1
- package/dist/src/editor/interface/Editor.d.ts +9 -0
- package/dist/src/editor/interface/Position.d.ts +3 -0
- package/dist/src/editor/interface/Row.d.ts +16 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,40 @@
|
|
|
1
|
+
## [1.0.5](https://github.com/Hufe921/canvas-editor/compare/v1.0.4...v1.0.5) (2026-10-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* control background highlight overflow with multiple controls in a row #1483 ([93599da](https://github.com/Hufe921/canvas-editor/commit/93599dab33d8bfd206ae4b776eced8e64112c46d)), closes [#1483](https://github.com/Hufe921/canvas-editor/issues/1483)
|
|
7
|
+
* keep selection anchor on shift+click and shift+up/down #1489 ([a68c0e4](https://github.com/Hufe921/canvas-editor/commit/a68c0e466320555811784cf7f6a861a25e351be6)), closes [#1489](https://github.com/Hufe921/canvas-editor/issues/1489)
|
|
8
|
+
* respect pending caret formatting during toggles #1487 ([bc4fcd7](https://github.com/Hufe921/canvas-editor/commit/bc4fcd70bbf28ab9c9317d436eed2f53a9461679)), closes [#1487](https://github.com/Hufe921/canvas-editor/issues/1487)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add row-level incremental layout for large documents #837 ([ffa18f9](https://github.com/Hufe921/canvas-editor/commit/ffa18f9cb7140ceb6d87c43c9a1bfe9a14e4d5a9)), closes [#837](https://github.com/Hufe921/canvas-editor/issues/837)
|
|
14
|
+
* per-control background colors overriding global control options #1484 ([921e924](https://github.com/Hufe921/canvas-editor/commit/921e9243ae9d7dcd14d0802a2de066f61ca6faa0)), closes [#1484](https://github.com/Hufe921/canvas-editor/issues/1484)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [1.0.4](https://github.com/Hufe921/canvas-editor/compare/v1.0.3...v1.0.4) (2026-09-27)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* resolve date picker, image caption and empty table row bugs ([b4bea50](https://github.com/Hufe921/canvas-editor/commit/b4bea50454d364d8d48f0c79e060462b81753679))
|
|
24
|
+
* resolve misc editor bugs in controls, table tools and range handling ([0111a98](https://github.com/Hufe921/canvas-editor/commit/0111a98f9a1997bcb9ae51ef5f20ad08b293801e))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Chores
|
|
28
|
+
|
|
29
|
+
* update mock.ts ([f5d6837](https://github.com/Hufe921/canvas-editor/commit/f5d6837be53b70c04549557d371c6fb10fe76cab))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Documentation
|
|
33
|
+
|
|
34
|
+
* update plugin markdown ([bd59011](https://github.com/Hufe921/canvas-editor/commit/bd590116f2aea6db0fd5300e6d09b103e7f77e1e))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
1
38
|
## [1.0.3](https://github.com/Hufe921/canvas-editor/compare/v1.0.2...v1.0.3) (2026-09-11)
|
|
2
39
|
|
|
3
40
|
|
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ Unlike traditional `contenteditable`-based editors, Canvas Editor takes full con
|
|
|
58
58
|
- **Document Structure** — Catalog (TOC) generation, comments, group annotations
|
|
59
59
|
- **Print & Export** — Print-ready output via canvas-to-image / PDF rendering
|
|
60
60
|
- **Interaction** — Custom context menus, customizable shortcut keys, drag-and-drop for text, elements, and controls
|
|
61
|
-
- **Extensibility** — Plugin system
|
|
61
|
+
- **Extensibility** — Plugin system (`instance.use`); official plugins cover Word/Excel import-export, formulas, code blocks, comments, spell checking, and more
|
|
62
62
|
- **Performance** — Web Workers for word counting, catalog generation, and async value retrieval
|
|
63
63
|
|
|
64
64
|
## Why Canvas Editor?
|
|
@@ -108,13 +108,13 @@ For complete API documentation, see the [official docs](https://hufe.club/canvas
|
|
|
108
108
|
|
|
109
109
|
## Ecosystem
|
|
110
110
|
|
|
111
|
-
| Project | Description
|
|
112
|
-
| -------------------------------------------------------------------------- |
|
|
113
|
-
| [canvas-editor-plugin](https://github.com/Hufe921/canvas-editor-plugin) | Official
|
|
114
|
-
| [feature/svg](https://github.com/Hufe921/canvas-editor/tree/feature/svg) | SVG render layer (in development)
|
|
115
|
-
| [feature/pdf](https://github.com/Hufe921/canvas-editor/tree/feature/pdf) | PDF export feature
|
|
116
|
-
| [feature/ai](https://github.com/Hufe921/canvas-editor/tree/feature/ai) | AI-powered text processing demo
|
|
117
|
-
| [feature/CRDT](https://github.com/Hufe921/canvas-editor/tree/feature/CRDT) | CRDT-based collaboration (experimental)
|
|
111
|
+
| Project | Description |
|
|
112
|
+
| -------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
|
|
113
|
+
| [canvas-editor-plugin](https://github.com/Hufe921/canvas-editor-plugin) | Official plugins: Word/Excel import-export, formula, comment, spellcheck & 20+ more |
|
|
114
|
+
| [feature/svg](https://github.com/Hufe921/canvas-editor/tree/feature/svg) | SVG render layer (in development) |
|
|
115
|
+
| [feature/pdf](https://github.com/Hufe921/canvas-editor/tree/feature/pdf) | PDF export feature |
|
|
116
|
+
| [feature/ai](https://github.com/Hufe921/canvas-editor/tree/feature/ai) | AI-powered text processing demo |
|
|
117
|
+
| [feature/CRDT](https://github.com/Hufe921/canvas-editor/tree/feature/CRDT) | CRDT-based collaboration (experimental) |
|
|
118
118
|
|
|
119
119
|
## Development
|
|
120
120
|
|