@jx3box/jx3box-editor 1.1.4 → 1.1.5

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.
@@ -23,6 +23,7 @@
23
23
  @import "tinymce/video.less";
24
24
  @import "tinymce/macro.less";
25
25
  @import "tinymce/qixue.less";
26
+ @import "tinymce/pz.less";
26
27
 
27
28
  @import "module/directory.less";
28
29
  @import "module/icon.less";
@@ -0,0 +1,39 @@
1
+ // 编辑器内
2
+ .e-pz-iframe{
3
+ min-height: 24px;
4
+ border-radius: 4px;
5
+ font-size: 14px;
6
+ width: 100%;
7
+ box-sizing: border-box;
8
+ background-color: #f1f8ff;
9
+ border: 1px solid #c8e1ff;
10
+ color: darken(#c8e1ff, 20%);
11
+
12
+ line-height: 40px !important;
13
+ padding: 0 10px 0 140px;
14
+ font-family: Monaco, Consolas, "Lucida Console", "Courier New", serif;
15
+
16
+ .pr;
17
+ &:after {
18
+ content: "JX3BOX·配装方案";
19
+ position: absolute;
20
+ .lt(8px);
21
+ background-color: darken(#c8e1ff, 20%);
22
+ color: #fff;
23
+ border-radius: 3px;
24
+ padding: 2px 8px;
25
+ line-height: 21px;
26
+ }
27
+ }
28
+ // 渲染模式隐藏
29
+ .c-article{
30
+ .e-pz-iframe{
31
+ display: none;
32
+ }
33
+ }
34
+ // tinymce编辑器内展示
35
+ .c-article-editor{
36
+ .e-pz-iframe{
37
+ display: block;
38
+ }
39
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-editor",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "JX3BOX Article & Editor",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/Tinymce.vue CHANGED
@@ -59,7 +59,9 @@ export default {
59
59
  convert_urls: false,
60
60
 
61
61
  // 样式
62
+ // TODO:
62
63
  content_css: `https://oss.jx3box.com/static/tinymce/skins/content/default/content.min.css`,
64
+ // content_css: `http://localhost:5000/skins/content/default/content.min.css`,
63
65
  body_class: "c-article c-article-editor",
64
66
  height: this.height || 800,
65
67
  autosave_ask_before_unload: false,