@textbus/adapter-vue 4.0.0-alpha.15 → 4.0.0-alpha.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,6 +34,7 @@ class Adapter extends DomAdapter {
34
34
  }
35
35
  });
36
36
  onUpdated(() => {
37
+ component.changeMarker.rendered();
37
38
  self.onViewUpdated.next();
38
39
  });
39
40
  onUnmounted(() => {
@@ -47,7 +48,6 @@ class Adapter extends DomAdapter {
47
48
  componentRender(component) {
48
49
  const comp = this.components[component.name] || this.components['*'];
49
50
  if (comp) {
50
- component.changeMarker.rendered();
51
51
  let rootRef = this.componentRefs.get(component);
52
52
  if (!rootRef) {
53
53
  rootRef = ref();
package/bundles/index.js CHANGED
@@ -36,6 +36,7 @@ class Adapter extends platformBrowser.DomAdapter {
36
36
  }
37
37
  });
38
38
  vue.onUpdated(() => {
39
+ component.changeMarker.rendered();
39
40
  self.onViewUpdated.next();
40
41
  });
41
42
  vue.onUnmounted(() => {
@@ -49,7 +50,6 @@ class Adapter extends platformBrowser.DomAdapter {
49
50
  componentRender(component) {
50
51
  const comp = this.components[component.name] || this.components['*'];
51
52
  if (comp) {
52
- component.changeMarker.rendered();
53
53
  let rootRef = this.componentRefs.get(component);
54
54
  if (!rootRef) {
55
55
  rootRef = vue.ref();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/adapter-vue",
3
- "version": "4.0.0-alpha.15",
3
+ "version": "4.0.0-alpha.17",
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.0",
29
- "@textbus/core": "^4.0.0-alpha.15",
30
- "@textbus/platform-browser": "^4.0.0-alpha.15",
29
+ "@textbus/core": "^4.0.0-alpha.17",
30
+ "@textbus/platform-browser": "^4.0.0-alpha.17",
31
31
  "vue": "^3.3.4"
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": "e3c96a118993009a8c4dce7e6504db02226f0da6"
51
+ "gitHead": "0ea4a4500c7743315c6ae9881569a4381aeedb15"
52
52
  }