@moda-editor/vue 0.3.2 → 0.3.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.
@@ -64,7 +64,12 @@ let binding: EditorInputBinding | null = null;
64
64
  // 브라우저가 변경한 DOM과 vnode가 어긋난 채 diff하면 크래시/유실이 난다
65
65
  const dirtyKeys = new DirtyKeyMap();
66
66
  const keyOf = (n: RenderNode): string =>
67
- dirtyKeys.key(n.path.join(","), binding?.dirtyPaths);
67
+ // 흡수 창에는 브라우저가 DOM을 소유 — 리마운트를 미루고 더티 표시는
68
+ // 흡수 뒤 렌더가 소비한다. 조합 중에는 미루지 않는다 — 그 창의 마크는
69
+ // compositionstart 선삭제 마크뿐이고 리마운트가 설계된 복구 경로다
70
+ binding?.ime.absorbing
71
+ ? n.path.join(",")
72
+ : dirtyKeys.key(n.path.join(","), binding?.dirtyPaths);
68
73
 
69
74
  onMounted(() => {
70
75
  if (editableEl.value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moda-editor/vue",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Vue 3 adapter for @moda-editor — useWidget + WidgetView",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -34,7 +34,7 @@
34
34
  "library"
35
35
  ],
36
36
  "dependencies": {
37
- "@moda-editor/core": "0.3.2"
37
+ "@moda-editor/core": "0.3.3"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "vue": ">=3.3.0"
@@ -45,7 +45,7 @@
45
45
  "typescript": "~5.9.2",
46
46
  "vitest": "^3.2.7",
47
47
  "vue": "^3.5.0",
48
- "@moda-editor/testkit": "0.3.2"
48
+ "@moda-editor/testkit": "0.3.3"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "tsc -p tsconfig.json && cp src/styles.css src/*.vue dist/",