@jx3box/jx3box-editor 1.8.6 → 1.8.7
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/assets/js/talent2.js +1 -1
- package/package.json +1 -1
- package/public/tinymce.html +1 -1
- package/src/Resource.vue +1 -1
- package/src/Tinymce.vue +2 -2
package/assets/js/talent2.js
CHANGED
|
@@ -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://
|
|
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
package/public/tinymce.html
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<meta name="renderer" content="webkit" />
|
|
8
8
|
<title><%= htmlWebpackPlugin.options.title %></title>
|
|
9
9
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
|
10
|
-
<script src="https://
|
|
10
|
+
<script src="https://cdn.jx3box.com/static/tinymce/tinymce.min.js?v=0.1.0"></script>
|
|
11
11
|
<!-- TODO: -->
|
|
12
12
|
<!-- <script src="http://localhost:3000/tinymce.min.js"></script> -->
|
|
13
13
|
</head>
|
package/src/Resource.vue
CHANGED
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
<script>
|
|
202
202
|
import { loadResource, loadStat, getIcons } from "../service/database";
|
|
203
203
|
import { loadEmotions } from "../service/cms";
|
|
204
|
-
import {
|
|
204
|
+
import { __iconPath, __Root, __OriginRoot } from "@jx3box/jx3box-common/data/jx3box.json";
|
|
205
205
|
import detach_types from "../assets/data/detach_type.json";
|
|
206
206
|
import { iconLink, getLink, showAvatar } from "@jx3box/jx3box-common/js/utils";
|
|
207
207
|
import GameText from "./GameText.vue";
|
package/src/Tinymce.vue
CHANGED
|
@@ -39,7 +39,7 @@ import Upload from "./Upload";
|
|
|
39
39
|
import Resource from "./Resource";
|
|
40
40
|
import BoxResource from "./BoxResource";
|
|
41
41
|
import { __cms } from "@jx3box/jx3box-common/data/jx3box.json";
|
|
42
|
-
import {
|
|
42
|
+
import { __imgPath } from "@jx3box/jx3box-common/data/jx3box.json";
|
|
43
43
|
import Emotion from "@jx3box/jx3box-emotion/src/Emotion.vue"
|
|
44
44
|
import hljs_languages from "../assets/js/item/hljs_languages.js"
|
|
45
45
|
const API_Root = process.env.NODE_ENV === "production" ? __cms : "/";
|
|
@@ -63,7 +63,7 @@ export default {
|
|
|
63
63
|
|
|
64
64
|
// 样式
|
|
65
65
|
// TODO:
|
|
66
|
-
content_css: `https://
|
|
66
|
+
content_css: `https://cdn.jx3box.com/static/tinymce/skins/content/default/content.min.css`,
|
|
67
67
|
// content_css: `http://localhost:5000/skins/content/default/content.min.css`,
|
|
68
68
|
body_class: "c-article c-article-editor c-article-tinymce",
|
|
69
69
|
height: this.height || 800,
|