@jx3box/jx3box-editor 2.2.18 → 2.2.20

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": "2.2.18",
3
+ "version": "2.2.20",
4
4
  "description": "JX3BOX Article & Editor",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -153,6 +153,7 @@
153
153
  .c-article-tinymce a {
154
154
  color: #0366d6;
155
155
  text-decoration: none;
156
+ word-break: break-all;
156
157
  }
157
158
  .c-article-tinymce a:hover {
158
159
  box-shadow: 0 1px 0 #0366d6;
@@ -60,7 +60,7 @@
60
60
  import { authorLink, getLink, getThumbnail } from "@jx3box/jx3box-common/js/utils";
61
61
  import { getUserInfo, getUserMedals, getUserPublicTeams } from "../../service/author";
62
62
  import { getDecoration, getDecorationJson } from "../../service/cms";
63
- import { __server, __imgPath, __userLevelColor } from "@jx3box/jx3box-common/data/jx3box.json";
63
+ import { __server, __imgPath, __userLevelColor, __cdn } from "@jx3box/jx3box-common/data/jx3box.json";
64
64
  import User from "@jx3box/jx3box-common/js/user";
65
65
  import { __userLevel } from "@jx3box/jx3box-common/data/jx3box.json";
66
66
  import Avatar from "./Avatar.vue";
@@ -264,7 +264,7 @@ export default {
264
264
  return __userLevelColor[level];
265
265
  },
266
266
  showDecoration: function (val, type) {
267
- return __imgPath + `decoration/images/${val}/${type}.png`;
267
+ return __cdn + `design/decoration/images/${val}/${type}.png`;
268
268
  },
269
269
  authorLink,
270
270
  },
@@ -275,7 +275,6 @@ export default {
275
275
  @import "../../assets/css/module/author.less";
276
276
  .w-author {
277
277
  .w-author-wrapper {
278
- // background-image: url(https://img.jx3box.com/decoration/images/1_CAT/atcard.png);
279
278
  background-repeat: no-repeat;
280
279
  background-position: top right;
281
280
  background-size: 100% auto;