@jx3box/jx3box-editor 1.0.7 → 1.0.8

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": "@jx3box/jx3box-editor",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "JX3BOX Article & Editor",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/Article.vue CHANGED
@@ -202,7 +202,7 @@ export default {
202
202
  target = "#c-article";
203
203
  }
204
204
  let dir = renderDirectory(target, this.directorybox);
205
- if (dir) this.$emit("directoryRendered");
205
+ this.$emit("directoryRendered",dir);
206
206
  },
207
207
  changePage: function (i) {
208
208
  this.page = i;
@@ -107,7 +107,7 @@ export default {
107
107
  doDir: function() {
108
108
  let target = "#c-article";
109
109
  let dir = renderDirectory(target, this.directorybox);
110
- if (dir) this.$emit("directoryRendered");
110
+ this.$emit("directoryRendered",dir);
111
111
  },
112
112
  updateOrigin : function (md,html){
113
113
  this.html = html