@themarioga/grid-editor 9.2.3 → 9.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 +11 -0
- package/dist/grideditor.bundle.min.js +2 -2
- package/dist/grideditor.esm.js +25 -3
- package/dist/grideditor.js +25 -3
- package/dist/grideditor.min.js +1 -1
- package/dist/grideditor.min.js.map +3 -3
- package/docs/plugins.md +13 -0
- package/package.json +1 -1
- package/src/js/grideditor.js +33 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@ 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.4] - 2026-10-27
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- Plugins: a `plainMarkup(root, options)` hook, called by `getPlainHtml` on
|
|
12
|
+
the markup it read, before grid-editor's own marking comes off, so a
|
|
13
|
+
plugin can publish its content another way. A plugin returning `false`
|
|
14
|
+
makes `getPlainHtml` answer `null`. Nothing changes without a plugin that
|
|
15
|
+
has the hook.
|
|
16
|
+
- Plugins: `ge.reinit()`, the canvas out of editing and back in as `getHtml`
|
|
17
|
+
does it, for a plugin that shows the same markup another way.
|
|
18
|
+
|
|
8
19
|
## [9.2.3] - 2026-10-23
|
|
9
20
|
|
|
10
21
|
### Fixed
|