@jx3box/jx3box-editor 1.7.4 → 1.7.6

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.
@@ -22,6 +22,26 @@
22
22
  border: 1px solid #eee;
23
23
  box-sizing: border-box;
24
24
  }
25
+ @media screen and (max-width:@ipad){
26
+ .w-player-bilibili{
27
+ height: 600px;
28
+ }
29
+ }
30
+ @media screen and (max-width:@ipad-y){
31
+ .w-player-bilibili{
32
+ height: 500px;
33
+ }
34
+ }
35
+ @media screen and (max-width:@phone){
36
+ .w-player-bilibili{
37
+ height: 240px;
38
+ }
39
+ }
40
+ @media screen and (max-width:@ip5){
41
+ .w-player-bilibili{
42
+ height: 180px;
43
+ }
44
+ }
25
45
  .c-article-editor {
26
46
  video,
27
47
  iframe {
package/assets/js/img.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // 图片地址&懒加载
2
2
  import { resolveImagePath } from "@jx3box/jx3box-common/js/utils";
3
- import { __cdn } from "@jx3box/jx3box-common/data/jx3box.json";
3
+ import JX3BOX from "@jx3box/jx3box-common/data/jx3box.json";
4
4
  function lazyLoad(str) {
5
5
  if (!str) return;
6
6
 
@@ -11,7 +11,7 @@ function lazyLoad(str) {
11
11
  let prefix = item[1];
12
12
  let src = resolveImagePath(item[2]);
13
13
  if (src.includes('https://console.cnyixun.com/')) {
14
- src = src.replace('https://console.cnyixun.com/', __cdn)
14
+ src = src.replace('https://console.cnyixun.com/', JX3BOX.__cdn)
15
15
  }
16
16
  let suffix = item[3];
17
17
  let output = `<img ${prefix} loading="lazy" src="${src}" ${suffix}>`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-editor",
3
- "version": "1.7.4",
3
+ "version": "1.7.6",
4
4
  "description": "JX3BOX Article & Editor",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -31,9 +31,9 @@
31
31
  "last 2 versions"
32
32
  ],
33
33
  "dependencies": {
34
- "@jx3box/jx3box-common": "^7.6.8",
34
+ "@jx3box/jx3box-common": "^7.7.3",
35
35
  "@jx3box/jx3box-data": "^3.0.4",
36
- "@jx3box/jx3box-emotion": "^1.1.5",
36
+ "@jx3box/jx3box-emotion": "^1.1.8",
37
37
  "@jx3box/jx3box-macro": "^1.0.1",
38
38
  "@jx3box/jx3box-talent": "^1.1.9",
39
39
  "@jx3box/markdown": "^0.1.5",
package/src/Tinymce.vue CHANGED
@@ -76,12 +76,12 @@ export default {
76
76
  contextmenu: "",
77
77
  plugins: [
78
78
  "link autolink",
79
- "hr lists advlist table codeinline codesample checklist foldtext latex",
79
+ "hr lists advlist table codeinline codesample checklist foldtext latex anchor",
80
80
  "image emoticons media videox macro qixue talent2",
81
81
  "code fullscreen wordcount powerpaste pagebreak printpage pz", // template anchor jx3icon autosave
82
82
  ],
83
83
  toolbar: [
84
- "undo | formatselect | fontsizeselect | forecolor backcolor | bold italic underline strikethrough superscript subscript | link unlink | fullscreen code", //restoredraft
84
+ "undo | formatselect | fontsizeselect | forecolor backcolor | bold italic underline strikethrough superscript subscript | link unlink anchor | fullscreen code", //restoredraft
85
85
  "removeformat | hr alignleft aligncenter alignright alignjustify indent outdent | bullist numlist checklist table blockquote foldtext codeinline codesample latex | emoticons image media videox | macro pz qixue talent2 pagebreak printpage", // template anchor jx3icon
86
86
  ],
87
87
  mobile: {
package/src/Upload.vue CHANGED
@@ -4,7 +4,7 @@
4
4
  <el-button type="primary" @click="dialogVisible = true" icon="el-icon-upload" :disabled="!enable">{{ btn_txt }}</el-button>
5
5
 
6
6
  <!-- 弹出界面 -->
7
- <el-dialog class="c-large-dialog" title="上传" :visible.sync="dialogVisible">
7
+ <el-dialog class="c-large-dialog" title="上传" :visible.sync="dialogVisible" append-to-body>
8
8
  <!-- 清空按钮 -->
9
9
  <el-button class="u-upload-clear" plain icon="el-icon-delete" size="mini" @click="clear">清空</el-button>
10
10
 
@@ -40,7 +40,7 @@
40
40
  </div>
41
41
  </div>
42
42
  </div>
43
- <div class="u-honor" :style="honorStyle" v-if="honor">{{ honor }}</div>
43
+ <!-- <div class="u-honor" :style="honorStyle" v-if="honor">{{ honor }}</div> -->
44
44
  <div class="u-trophy" v-if="hasTrophy">
45
45
  <div class="u-medals" v-if="medals && medals.length">
46
46
  <medal :medals="medals" :showIcon="showMedalIcon"></medal>
@@ -115,7 +115,7 @@ export default {
115
115
  if (val) {
116
116
  this.loadData();
117
117
  this.getAtcard();
118
- this.getHonor();
118
+ // this.getHonor();
119
119
  }
120
120
  },
121
121
  },