@themarioga/grid-editor 9.1.1 → 9.2.1
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 +22 -0
- package/README.md +5 -3
- package/dist/grideditor.bundle.min.js +2 -2
- package/dist/grideditor.esm.js +6 -5
- package/dist/grideditor.js +6 -5
- package/dist/grideditor.min.js +1 -1
- package/dist/grideditor.min.js.map +3 -3
- package/dist/plugins/grideditor.clipboard.esm.js +2 -2
- package/dist/plugins/grideditor.clipboard.js +2 -2
- package/dist/plugins/grideditor.clipboard.min.js +1 -1
- package/dist/plugins/grideditor.clipboard.min.js.map +2 -2
- package/docs/plugins.md +1 -1
- package/package.json +1 -1
- package/src/js/grideditor.js +14 -6
- package/src/js/plugins/grideditor.clipboard.js +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
## [9.2.1] - 2026-10-22
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- A toolbar button dropped on the canvas lands where the marker showed. Where
|
|
12
|
+
it went was worked out once the canvas had closed up, and without the
|
|
13
|
+
marker and the gaps the drag opens the pointer could be over another
|
|
14
|
+
region: dropped at the foot of a column in a tab, the block went to the
|
|
15
|
+
column the tabs were in, after them.
|
|
16
|
+
|
|
17
|
+
## [9.2.0] - 2026-10-22
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
- clipboard: Ctrl+V with no target pastes at the end of the canvas, in the
|
|
21
|
+
row and column it lacks, as the toolbar's paste buttons do, rather than
|
|
22
|
+
doing nothing. A top-level row or section cut with Ctrl+X comes back with
|
|
23
|
+
Ctrl+V.
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
- `ge.placeInTarget(node, kind, source, { fallback: 'canvas' })` on the plugin
|
|
27
|
+
handle: with no target, the node goes at the end of the canvas rather than
|
|
28
|
+
nowhere.
|
|
29
|
+
|
|
8
30
|
## [9.1.1] - 2026-10-22
|
|
9
31
|
|
|
10
32
|
### Fixed
|
package/README.md
CHANGED
|
@@ -875,7 +875,8 @@ fires `before-delete`, `after-copy` (with `cut: true`) and `after-delete`, and
|
|
|
875
875
|
the two deletes have `source: 'cut'`. With `active_target`, the target goes to
|
|
876
876
|
what held the node - a text's column, a column's row, a row's column or section,
|
|
877
877
|
a container's pane's container - so a paste right after puts it back there; a
|
|
878
|
-
top-level row or section leaves no target
|
|
878
|
+
top-level row or section leaves no target, and a paste then puts it at the end
|
|
879
|
+
of the canvas. A cut is one step for the history
|
|
879
880
|
plugin, and what was cut stays in the clipboard after an undo. Tabs and
|
|
880
881
|
accordion items have no *Cut*, as they have no *Copy*.
|
|
881
882
|
|
|
@@ -884,8 +885,9 @@ shortcuts too, Ctrl+C, Ctrl+X and Ctrl+V (⌘C, ⌘X and ⌘V on a Mac). Ctrl+C
|
|
|
884
885
|
the target, as its *Copy* tool would, whatever its level: a container, a row, an
|
|
885
886
|
element, a text. Ctrl+X cuts it, as its *Cut* tool would. Ctrl+V pastes into the
|
|
886
887
|
target as the toolbar adds to it - at the end of what it holds, in the row or the
|
|
887
|
-
column it lacks, a section after the block it is in. With no target,
|
|
888
|
-
|
|
888
|
+
column it lacks, a section after the block it is in. With no target, Ctrl+V
|
|
889
|
+
pastes at the end of the canvas, as the toolbar's paste buttons do, and Ctrl+C
|
|
890
|
+
and Ctrl+X do nothing. They go to the editor used last, and leave the keys to the browser while
|
|
889
891
|
a field or a text is being edited, while text is selected (for Ctrl+C and
|
|
890
892
|
Ctrl+X), while a settings panel, a dialog or the delete confirmation is open, and
|
|
891
893
|
outside editing. They use the same store as the tools: the system clipboard is
|