@kungal/editor-nuxt 0.32.0 → 0.32.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 +12 -0
- package/editor.css +4 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @kungal/editor-nuxt
|
|
2
2
|
|
|
3
|
+
## 0.32.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 814c98f: Drive toolbar and bubble toggle-mark state from one editor plugin view, and keep the orphan-link cleanup out of undo history.
|
|
8
|
+
|
|
9
|
+
The previous Milkdown-listener + per-toolbar `refresh()` pair leaked subscriptions, missed stored-mark toggles for 200ms, and left the selection bubble without a pressed state. A single ProseMirror `view.update` plugin now writes one reactive record that the toolbar, the `#toolbar` slot, and the bubble all read. The leftover stored-link cleanup is marked `addToHistory: false`.
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [814c98f]
|
|
12
|
+
- @kungal/editor-core@0.32.1
|
|
13
|
+
- @kungal/editor-vue@0.32.1
|
|
14
|
+
|
|
3
15
|
## 0.32.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/editor.css
CHANGED
|
@@ -229,12 +229,14 @@
|
|
|
229
229
|
background: var(--color-default-100);
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
-
.kun-editor__tool[data-active='true']
|
|
232
|
+
.kun-editor__tool[data-active='true'],
|
|
233
|
+
.kun-editor__bubble-btn[data-active='true'] {
|
|
233
234
|
background: var(--color-primary);
|
|
234
235
|
color: var(--color-primary-contrast, #fff);
|
|
235
236
|
}
|
|
236
237
|
|
|
237
|
-
.kun-editor__tool[data-active='true']:hover
|
|
238
|
+
.kun-editor__tool[data-active='true']:hover,
|
|
239
|
+
.kun-editor__bubble-btn[data-active='true']:hover {
|
|
238
240
|
background: var(--color-primary);
|
|
239
241
|
}
|
|
240
242
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kungal/editor-nuxt",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.1",
|
|
4
4
|
"description": "KunEditor Nuxt Layer — wraps @kungal/editor-vue and auto-imports <KunEditor> so an existing Nuxt app keeps its exact DX (no import needed).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"nuxt.config.ts"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@kungal/editor-core": "0.32.
|
|
36
|
-
"@kungal/editor-vue": "0.32.
|
|
35
|
+
"@kungal/editor-core": "0.32.1",
|
|
36
|
+
"@kungal/editor-vue": "0.32.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@kungal/ui-vue": "^2.7.0",
|