@commonpub/editor 0.7.2 → 0.7.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonpub/editor",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "type": "module",
5
5
  "description": "TipTap block editor with 18+ maker-focused extensions for CommonPub",
6
6
  "license": "AGPL-3.0-or-later",
@@ -50,8 +50,8 @@
50
50
  "remark-rehype": "^11.1.2",
51
51
  "unified": "^11.0.5",
52
52
  "zod": "^4.3.6",
53
- "@commonpub/schema": "0.9.4",
54
- "@commonpub/config": "0.9.0"
53
+ "@commonpub/config": "0.9.0",
54
+ "@commonpub/schema": "0.9.4"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "vue": "^3.4.0",
@@ -167,6 +167,7 @@ function onSelectionChange(block: EditorBlock, hasSelection: boolean, rect: DOMR
167
167
  };
168
168
  } else {
169
169
  floatingToolbar.value = { visible: false, top: 0, left: 0, blockId: '', activeMarks: { bold: false, italic: false, strike: false, code: false, link: false } };
170
+ linkPrompt.value = { visible: false, url: '' };
170
171
  }
171
172
  }
172
173
 
@@ -308,6 +309,7 @@ function onDrop(atIndex: number, event: DragEvent): void {
308
309
  function onCanvasClick(): void {
309
310
  props.blockEditor.selectBlock(null);
310
311
  floatingToolbar.value = { visible: false, top: 0, left: 0, blockId: '', activeMarks: { bold: false, italic: false, strike: false, code: false, link: false } };
312
+ linkPrompt.value = { visible: false, url: '' };
311
313
  }
312
314
 
313
315
  // --- Resolve block component (injected overrides take priority) ---