@jx3box/jx3box-editor 0.8.7 → 0.8.8

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": "0.8.7",
3
+ "version": "0.8.8",
4
4
  "description": "JX3BOX Article & Editor",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -30,11 +30,11 @@
30
30
  "last 2 versions"
31
31
  ],
32
32
  "dependencies": {
33
- "@jx3box/jx3box-common": "^6.6.9",
34
- "@jx3box/jx3box-data": "^1.6.5",
33
+ "@jx3box/jx3box-common": "^6.7.0",
34
+ "@jx3box/jx3box-data": "^1.7.4",
35
35
  "@jx3box/jx3box-emotion": "^1.0.8",
36
36
  "@jx3box/jx3box-macro": "^1.0.1",
37
- "@jx3box/jx3box-talent": "^1.1.0",
37
+ "@jx3box/jx3box-talent": "^1.1.2",
38
38
  "@tinymce/tinymce-vue": "^3.2.2",
39
39
  "axios": "^0.19.2",
40
40
  "core-js": "^3.6.5",
@@ -7,7 +7,8 @@
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://oss.jx3box.com/static/tinymce/tinymce.min.js?v=0.0.9"></script>
10
+ <script src="https://oss.jx3box.com/static/tinymce/tinymce.min.js?v=0.1.0"></script>
11
+ <!-- TODO: -->
11
12
  <!-- <script src="http://localhost:5000/tinymce.min.js"></script> -->
12
13
  </head>
13
14
  <body>
package/readme.md CHANGED
@@ -88,7 +88,7 @@ import Tinymce from "@jx3box/jx3box-editor/src/Tinymce.vue";
88
88
  headers.set("Authorization", "Basic " + btoa(username + ":" + password));
89
89
 
90
90
  // 1.异步加载设置数据,将420改成正确的文章ID
91
- fetch("https://server.jx3box.com/post/find?id=420", {
91
+ fetch("https://cms.jx3box.com/api/cms/post/420", {
92
92
  method: "GET",
93
93
  headers: headers,
94
94
  credentials: "include",
package/src/Tinymce.vue CHANGED
@@ -66,11 +66,11 @@ export default {
66
66
  "link autolink",
67
67
  "hr lists advlist table codeinline codesample checklist foldtext latex",
68
68
  "image emoticons media videox macro qixue talent2",
69
- "autosave code fullscreen wordcount powerpaste pagebreak printpage", // template anchor jx3icon
69
+ "autosave code fullscreen wordcount powerpaste pagebreak printpage pz", // template anchor jx3icon
70
70
  ],
71
71
  toolbar: [
72
72
  "undo | formatselect | fontsizeselect | forecolor backcolor | bold italic underline strikethrough superscript subscript | link unlink | restoredraft fullscreen code",
73
- "removeformat | hr alignleft aligncenter alignright alignjustify indent outdent | bullist numlist checklist table blockquote foldtext codeinline codesample latex | emoticons image media videox | macro qixue talent2 pagebreak printpage", // template anchor jx3icon
73
+ "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
74
74
  ],
75
75
  mobile: {
76
76
  toolbar_drawer: true,