@jx3box/jx3box-editor 2.2.15 → 2.2.17

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.
@@ -14,6 +14,8 @@
14
14
  max-width: 100%;
15
15
  box-sizing: border-box;
16
16
  }
17
+
18
+ scroll-behavior: smooth;
17
19
  }
18
20
  .c-article-editor{
19
21
  margin:8px;
@@ -10,7 +10,7 @@ function talent2(selector = ".e-jx3talent2-area") {
10
10
  // 内容解析
11
11
  let talent = $(this).text();
12
12
  let code = Base64.encode(talent);
13
- let url = "https://oss.jx3box.com/static/jx3box-talent2/index.html" + "?code=" + code;
13
+ let url = "https://cdn.jx3box.com/static/jx3box-talent2/index.html" + "?code=" + code;
14
14
 
15
15
  container.html(`<iframe src="${url}" width="100%" height="100%" style="overflow:hidden;border:none;"></iframe>`);
16
16
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-editor",
3
- "version": "2.2.15",
3
+ "version": "2.2.17",
4
4
  "description": "JX3BOX Article & Editor",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/readme.md CHANGED
@@ -1,7 +1,5 @@
1
1
  # Article & Editor
2
2
 
3
- 手动更新 cdn `https://oss.jx3box.com/static/`
4
-
5
3
  # Dev
6
4
  ```
7
5
  $ npm install
@@ -39,7 +37,7 @@ import Tinymce from "@jx3box/jx3box-editor/src/Tinymce.vue";
39
37
  编辑器
40
38
 
41
39
  ```html
42
- <script src="https://oss.jx3box.com/static/tinymce/tinymce.min.js?v=$version"></script>
40
+ <script src="https://cdn.jx3box.com/static/tinymce/tinymce.min.js?v=$version"></script>
43
41
  <Tinymce
44
42
  v-model="content"
45
43
  :attachmentEnable="true"
@@ -65,9 +63,8 @@ import Tinymce from "@jx3box/jx3box-editor/src/Tinymce.vue";
65
63
  后续 11 月会新增一个文本物品浮层功能(关联物品百科)。
66
64
 
67
65
  ```html
68
- <script src="https://oss.jx3box.com/static/jx3box-lib/vue.js?v="></script>
69
- <script src="https://oss.jx3box.com/static/jx3box-editor/jx3box_article.umd.min.js?v="></script>
70
- <link rel="stylesheet" href="https://oss.jx3box.com/static/jx3box-editor/jx3box_article.css?v="/>
66
+ <script src="https://cdn.jx3box.com/static/jx3box-lib/vue.js?v="></script>
67
+ <script src="https://cdn.jx3box.com/static/jx3box-editor/jx3box_article.umd.min.js?v="></script>
71
68
  ```
72
69
 
73
70
  2. body标签:需要插入的位置