@jx3box/jx3box-editor 2.2.29 → 2.2.30

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Tinymce.vue +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-editor",
3
- "version": "2.2.29",
3
+ "version": "2.2.30",
4
4
  "description": "JX3BOX Article & Editor",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/Tinymce.vue CHANGED
@@ -146,7 +146,7 @@ export default {
146
146
  if (!emotion.filename.startsWith("http")) {
147
147
  src = `${__imgPath}emotion/output/${emotion.filename}`;
148
148
  }
149
- const IMAGE = `<img class="t-emotion" src="${src}" alt="${src}" />`;
149
+ const IMAGE = `<img class="t-emotion" src="${src}" alt="${src}" style="max-width:60px;max-height:60px" />`;
150
150
  tinyMCE.editors["tinymce"].insertContent(IMAGE);
151
151
  },
152
152
  },