@textbus/adapter-vue 4.3.4 → 4.3.5
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/bundles/index.esm.js +12 -2
- package/bundles/index.js +12 -2
- package/package.json +4 -4
package/bundles/index.esm.js
CHANGED
@@ -81,8 +81,18 @@ class VueAdapter extends DomAdapter {
|
|
81
81
|
}
|
82
82
|
}, mount);
|
83
83
|
// private compositionRef = ref<Element>()
|
84
|
-
this
|
85
|
-
|
84
|
+
Object.defineProperty(this, "componentRefs", {
|
85
|
+
enumerable: true,
|
86
|
+
configurable: true,
|
87
|
+
writable: true,
|
88
|
+
value: new WeakMap()
|
89
|
+
});
|
90
|
+
Object.defineProperty(this, "components", {
|
91
|
+
enumerable: true,
|
92
|
+
configurable: true,
|
93
|
+
writable: true,
|
94
|
+
value: {}
|
95
|
+
});
|
86
96
|
// watchEffect(() => {
|
87
97
|
// this.compositionNode = this.compositionRef.value || null
|
88
98
|
// })
|
package/bundles/index.js
CHANGED
@@ -83,8 +83,18 @@ class VueAdapter extends platformBrowser.DomAdapter {
|
|
83
83
|
}
|
84
84
|
}, mount);
|
85
85
|
// private compositionRef = ref<Element>()
|
86
|
-
this
|
87
|
-
|
86
|
+
Object.defineProperty(this, "componentRefs", {
|
87
|
+
enumerable: true,
|
88
|
+
configurable: true,
|
89
|
+
writable: true,
|
90
|
+
value: new WeakMap()
|
91
|
+
});
|
92
|
+
Object.defineProperty(this, "components", {
|
93
|
+
enumerable: true,
|
94
|
+
configurable: true,
|
95
|
+
writable: true,
|
96
|
+
value: {}
|
97
|
+
});
|
88
98
|
// watchEffect(() => {
|
89
99
|
// this.compositionNode = this.compositionRef.value || null
|
90
100
|
// })
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@textbus/adapter-vue",
|
3
|
-
"version": "4.3.
|
3
|
+
"version": "4.3.5",
|
4
4
|
"description": "Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.",
|
5
5
|
"main": "./bundles/index.js",
|
6
6
|
"module": "./bundles/index.esm.js",
|
@@ -26,8 +26,8 @@
|
|
26
26
|
],
|
27
27
|
"dependencies": {
|
28
28
|
"@tanbo/stream": "^1.2.6",
|
29
|
-
"@textbus/core": "^4.3.
|
30
|
-
"@textbus/platform-browser": "^4.3.
|
29
|
+
"@textbus/core": "^4.3.5",
|
30
|
+
"@textbus/platform-browser": "^4.3.5",
|
31
31
|
"vue": "^3.4.28"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
@@ -48,5 +48,5 @@
|
|
48
48
|
"bugs": {
|
49
49
|
"url": "https://github.com/textbus/textbus.git/issues"
|
50
50
|
},
|
51
|
-
"gitHead": "
|
51
|
+
"gitHead": "f67cb5a86aa108dfdb3bc28078b07824dd93e60d"
|
52
52
|
}
|