@hufe921/canvas-editor 1.0.2 → 1.0.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 +43 -0
- package/README.md +8 -8
- package/dist/assets/value-CLcLo2uw.js.map +1 -1
- package/dist/canvas-editor.js +1766 -1711
- package/dist/canvas-editor.js.map +1 -1
- package/dist/canvas-editor.umd.cjs +37 -37
- package/dist/canvas-editor.umd.cjs.map +1 -1
- package/dist/src/editor/core/command/Command.d.ts +1 -0
- package/dist/src/editor/core/command/CommandAdapt.d.ts +2 -1
- package/dist/src/editor/core/draw/particle/date/DatePicker.d.ts +1 -0
- package/dist/src/editor/dataset/enum/Common.d.ts +4 -0
- package/dist/src/editor/index.d.ts +2 -2
- package/dist/src/editor/interface/Control.d.ts +1 -0
- package/dist/src/editor/interface/Range.d.ts +5 -0
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,46 @@
|
|
|
1
|
+
## [1.0.4](https://github.com/Hufe921/canvas-editor/compare/v1.0.3...v1.0.4) (2026-09-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* resolve date picker, image caption and empty table row bugs ([b4bea50](https://github.com/Hufe921/canvas-editor/commit/b4bea50454d364d8d48f0c79e060462b81753679))
|
|
7
|
+
* resolve misc editor bugs in controls, table tools and range handling ([0111a98](https://github.com/Hufe921/canvas-editor/commit/0111a98f9a1997bcb9ae51ef5f20ad08b293801e))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Chores
|
|
11
|
+
|
|
12
|
+
* update mock.ts ([f5d6837](https://github.com/Hufe921/canvas-editor/commit/f5d6837be53b70c04549557d371c6fb10fe76cab))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Documentation
|
|
16
|
+
|
|
17
|
+
* update plugin markdown ([bd59011](https://github.com/Hufe921/canvas-editor/commit/bd590116f2aea6db0fd5300e6d09b103e7f77e1e))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## [1.0.3](https://github.com/Hufe921/canvas-editor/compare/v1.0.2...v1.0.3) (2026-09-11)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* table slash pollutes page corner color #1476 ([ad68454](https://github.com/Hufe921/canvas-editor/commit/ad684544241fda474274d95664911372f7835c75)), closes [#1476](https://github.com/Hufe921/canvas-editor/issues/1476)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Documentation
|
|
30
|
+
|
|
31
|
+
* update official plugin list ([165885f](https://github.com/Hufe921/canvas-editor/commit/165885f220046ef5dc60a58ec7553173f6b5ebc0))
|
|
32
|
+
* update plugin markdown ([0d9d8b7](https://github.com/Hufe921/canvas-editor/commit/0d9d8b7c677ac9eacd488a6119666ae73af04907))
|
|
33
|
+
* update plugin markdown ([3db6563](https://github.com/Hufe921/canvas-editor/commit/3db6563a8c49a67bcf92ed1c0dfd4ebfeaa0d285))
|
|
34
|
+
* update plugin markdown ([7adb602](https://github.com/Hufe921/canvas-editor/commit/7adb602bacf10b5d8f85f859b88a7662ae400887))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
* add getSurroundElementList command api ([480cd95](https://github.com/Hufe921/canvas-editor/commit/480cd9510bca23ca9702ca38d39a812184ef931c))
|
|
40
|
+
* add isOverwrite option to set control value api #1478 ([3f61e23](https://github.com/Hufe921/canvas-editor/commit/3f61e23c2247bca762525610fe7bb3d60f0b63bc)), closes [#1478](https://github.com/Hufe921/canvas-editor/issues/1478)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
1
44
|
## [1.0.2](https://github.com/Hufe921/canvas-editor/compare/v1.0.1...v1.0.2) (2026-08-28)
|
|
2
45
|
|
|
3
46
|
|
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
|
|