@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.
- package/assets/css/article.less +1 -0
- package/assets/css/tinymce/pz.less +39 -0
- package/package.json +1 -1
- package/src/Tinymce.vue +2 -0
package/assets/css/article.less
CHANGED
|
@@ -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
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,
|