@jx3box/jx3box-editor 1.8.8 → 1.8.9
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/tinymce/combo.less +73 -66
- package/package.json +3 -1
- package/public/css/article.css +2018 -0
- package/public/css/article.less +3 -0
- package/public/tinymce.html +2 -2
- package/src/Tinymce.vue +1 -1
|
@@ -1,74 +1,81 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
align-items: center;
|
|
11
|
-
&:not(:last-of-type)::after {
|
|
12
|
-
content: "▲";
|
|
13
|
-
.pa;
|
|
14
|
-
right: -20px;
|
|
15
|
-
top: 5px;
|
|
16
|
-
transform: rotate(90deg);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
img {
|
|
20
|
-
border: none;
|
|
21
|
-
padding: 0;
|
|
22
|
-
margin: 0;
|
|
1
|
+
.c-article-tinymce:not(.c-article-editor) {
|
|
2
|
+
.w-skill-combo {
|
|
3
|
+
.flex;
|
|
4
|
+
gap: 20px;
|
|
5
|
+
flex-wrap: wrap;
|
|
6
|
+
list-style: none;
|
|
7
|
+
padding:0;
|
|
8
|
+
margin:0;
|
|
23
9
|
}
|
|
10
|
+
.w-skill-combo-item {
|
|
11
|
+
list-style: none;
|
|
12
|
+
.pr;
|
|
13
|
+
.flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
align-items: center;
|
|
16
|
+
&:not(:last-of-type)::after {
|
|
17
|
+
content: "▲";
|
|
18
|
+
.pa;
|
|
19
|
+
right: -20px;
|
|
20
|
+
top: 5px;
|
|
21
|
+
transform: rotate(90deg);
|
|
22
|
+
}
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
background-color: #0366d6;
|
|
31
|
-
.size(12px);
|
|
32
|
-
.r(50%);
|
|
33
|
-
.db;
|
|
24
|
+
img {
|
|
25
|
+
border: none;
|
|
26
|
+
padding: 0;
|
|
27
|
+
margin: 0;
|
|
28
|
+
}
|
|
34
29
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
.u-gcd-icon {
|
|
31
|
+
.pa;
|
|
32
|
+
// 左上角
|
|
33
|
+
left: -4px;
|
|
34
|
+
top: -4px;
|
|
35
|
+
background-color: #0366d6;
|
|
36
|
+
.size(12px);
|
|
37
|
+
.r(50%);
|
|
38
38
|
.db;
|
|
39
|
+
|
|
40
|
+
i {
|
|
41
|
+
color: #fff;
|
|
42
|
+
.fz(12px);
|
|
43
|
+
.db;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
.u-skill-name {
|
|
47
|
+
.fz(13px,1.5);
|
|
48
|
+
width: 56px;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
text-overflow: clip;
|
|
51
|
+
white-space: pre-wrap;
|
|
52
|
+
text-align: center;
|
|
39
53
|
}
|
|
40
|
-
}
|
|
41
|
-
.u-skill-name {
|
|
42
|
-
.fz(13px,1.5);
|
|
43
|
-
width: 56px;
|
|
44
|
-
overflow: hidden;
|
|
45
|
-
text-overflow: clip;
|
|
46
|
-
white-space: pre-wrap;
|
|
47
|
-
text-align: center;
|
|
48
54
|
}
|
|
49
55
|
}
|
|
50
|
-
|
|
51
|
-
.e-skill-combo{
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
.c-article-editor {
|
|
57
|
+
.e-skill-combo {
|
|
58
|
+
font-size: 14px;
|
|
59
|
+
width: 100%;
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
background-color: #f1f8ff;
|
|
62
|
+
border: 1px solid #c8e1ff;
|
|
63
|
+
color: #62a9ff;
|
|
64
|
+
padding: 10px 10px 10px 30px;
|
|
65
|
+
font-family: Monaco, Consolas, "Lucida Console", "Courier New", serif;
|
|
66
|
+
position: relative;
|
|
67
|
+
*zoom: 1;
|
|
68
|
+
border-radius: 3px;
|
|
69
|
+
}
|
|
70
|
+
.e-skill-combo:after {
|
|
71
|
+
content: "JX3BOX·连招套路";
|
|
72
|
+
position: absolute;
|
|
73
|
+
right: 8px;
|
|
74
|
+
top: 8px;
|
|
75
|
+
background-color: #62a9ff;
|
|
76
|
+
color: #fff;
|
|
77
|
+
border-radius: 3px;
|
|
78
|
+
padding: 2px 8px;
|
|
79
|
+
line-height: 21px;
|
|
80
|
+
}
|
|
63
81
|
}
|
|
64
|
-
.e-skill-combo:after {
|
|
65
|
-
content: "JX3BOX·连招套路";
|
|
66
|
-
position: absolute;
|
|
67
|
-
right: 8px;
|
|
68
|
-
top: 8px;
|
|
69
|
-
background-color: #62a9ff;
|
|
70
|
-
color: #fff;
|
|
71
|
-
border-radius: 3px;
|
|
72
|
-
padding: 2px 8px;
|
|
73
|
-
line-height: 21px;
|
|
74
|
-
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jx3box/jx3box-editor",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.9",
|
|
4
4
|
"description": "JX3BOX Article & Editor",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "env DEV_SERVER=true vue-cli-service serve",
|
|
8
8
|
"serve": "vue-cli-service serve",
|
|
9
|
+
"less": "less-watch-compiler public/css public/css",
|
|
9
10
|
"build": "vue-cli-service build",
|
|
10
11
|
"lint": "vue-cli-service lint",
|
|
11
12
|
"inspect": "vue inspect > output.js",
|
|
@@ -70,6 +71,7 @@
|
|
|
70
71
|
"eslint-plugin-vue": "^6.2.2",
|
|
71
72
|
"less": "^3.0.4",
|
|
72
73
|
"less-loader": "^5.0.0",
|
|
74
|
+
"less-watch-compiler": "^1.16.3",
|
|
73
75
|
"style-resources-loader": "^1.3.3",
|
|
74
76
|
"vue-cli-plugin-element": "~1.0.1",
|
|
75
77
|
"vue-svg-inline-loader": "^1.4.6",
|