@wangeditor-next/editor 5.6.2-beta.0 → 5.6.3-beta.0
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/dist/css/style.css +314 -314
- package/dist/index.js +10056 -10049
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10056 -10049
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
package/dist/css/style.css
CHANGED
|
@@ -928,255 +928,6 @@ body .w-e-modal * {
|
|
|
928
928
|
box-shadow: none;
|
|
929
929
|
}
|
|
930
930
|
|
|
931
|
-
|
|
932
|
-
.w-e-text-container [data-slate-editor] {
|
|
933
|
-
/* 干掉 Chrome 默认选区样式*/
|
|
934
|
-
/* 拖动 Style */
|
|
935
|
-
}
|
|
936
|
-
.w-e-text-container [data-slate-editor] .table-container {
|
|
937
|
-
width: 100%;
|
|
938
|
-
overflow-x: auto;
|
|
939
|
-
border: 1px dashed var(--w-e-textarea-border-color);
|
|
940
|
-
padding: 10px;
|
|
941
|
-
border-radius: 5px;
|
|
942
|
-
margin-top: 10px;
|
|
943
|
-
position: relative;
|
|
944
|
-
}
|
|
945
|
-
.w-e-text-container [data-slate-editor] table {
|
|
946
|
-
border-collapse: collapse;
|
|
947
|
-
table-layout: fixed;
|
|
948
|
-
/* 选区拖影 */
|
|
949
|
-
}
|
|
950
|
-
.w-e-text-container [data-slate-editor] table td,
|
|
951
|
-
.w-e-text-container [data-slate-editor] table th {
|
|
952
|
-
border: 1px solid var(--w-e-textarea-border-color);
|
|
953
|
-
padding: 3px 5px;
|
|
954
|
-
min-width: 30px;
|
|
955
|
-
line-height: 1.5;
|
|
956
|
-
/* 强制换行,table column 宽度必须拖动增大 */
|
|
957
|
-
overflow: hidden;
|
|
958
|
-
overflow-wrap: break-word;
|
|
959
|
-
word-break: break-all;
|
|
960
|
-
white-space: pre-wrap;
|
|
961
|
-
}
|
|
962
|
-
.w-e-text-container [data-slate-editor] table th {
|
|
963
|
-
background-color: var(--w-e-textarea-slight-bg-color);
|
|
964
|
-
text-align: center;
|
|
965
|
-
font-weight: bold;
|
|
966
|
-
}
|
|
967
|
-
.w-e-text-container [data-slate-editor] table td.w-e-selected,
|
|
968
|
-
.w-e-text-container [data-slate-editor] table th.w-e-selected {
|
|
969
|
-
background-color: rgba(20, 86, 240, 0.18);
|
|
970
|
-
}
|
|
971
|
-
.w-e-text-container [data-slate-editor] table.table-selection-none *::-moz-selection {
|
|
972
|
-
background: none;
|
|
973
|
-
}
|
|
974
|
-
.w-e-text-container [data-slate-editor] table.table-selection-none *::selection {
|
|
975
|
-
background: none;
|
|
976
|
-
}
|
|
977
|
-
.w-e-text-container [data-slate-editor] .column-resizer {
|
|
978
|
-
position: absolute;
|
|
979
|
-
display: flex;
|
|
980
|
-
top: 10px;
|
|
981
|
-
left: 11px;
|
|
982
|
-
width: 0;
|
|
983
|
-
height: 0;
|
|
984
|
-
z-index: 1;
|
|
985
|
-
}
|
|
986
|
-
.w-e-text-container [data-slate-editor] .column-resizer .column-resizer-item {
|
|
987
|
-
position: relative;
|
|
988
|
-
}
|
|
989
|
-
.w-e-text-container [data-slate-editor] .resizer-line-hotzone {
|
|
990
|
-
cursor: col-resize;
|
|
991
|
-
position: absolute;
|
|
992
|
-
width: 10px;
|
|
993
|
-
right: -3px;
|
|
994
|
-
visibility: hidden;
|
|
995
|
-
opacity: 0;
|
|
996
|
-
transition: opacity 0.2s ease, visibility 0.2s ease;
|
|
997
|
-
}
|
|
998
|
-
.w-e-text-container [data-slate-editor] .resizer-line-hotzone .resizer-line {
|
|
999
|
-
height: 100%;
|
|
1000
|
-
width: 2px;
|
|
1001
|
-
margin-left: 5px;
|
|
1002
|
-
background: rgba(20, 86, 240, 0.8);
|
|
1003
|
-
-webkit-user-select: none;
|
|
1004
|
-
-moz-user-select: none;
|
|
1005
|
-
user-select: none;
|
|
1006
|
-
}
|
|
1007
|
-
.w-e-text-container [data-slate-editor] .resizer-line-hotzone.visible {
|
|
1008
|
-
visibility: visible;
|
|
1009
|
-
}
|
|
1010
|
-
.w-e-text-container [data-slate-editor] .resizer-line-hotzone.highlight {
|
|
1011
|
-
opacity: 1;
|
|
1012
|
-
}
|
|
1013
|
-
.w-e-panel-content-table {
|
|
1014
|
-
background-color: var(--w-e-toolbar-bg-color);
|
|
1015
|
-
}
|
|
1016
|
-
.w-e-panel-content-table table {
|
|
1017
|
-
border-collapse: collapse;
|
|
1018
|
-
table-layout: fixed;
|
|
1019
|
-
}
|
|
1020
|
-
.w-e-panel-content-table th,
|
|
1021
|
-
.w-e-panel-content-table td {
|
|
1022
|
-
overflow: hidden;
|
|
1023
|
-
overflow-wrap: break-word;
|
|
1024
|
-
word-break: break-all;
|
|
1025
|
-
white-space: pre-wrap;
|
|
1026
|
-
}
|
|
1027
|
-
.w-e-panel-content-table td {
|
|
1028
|
-
border: 1px solid var(--w-e-toolbar-border-color);
|
|
1029
|
-
padding: 3px 5px;
|
|
1030
|
-
width: 20px;
|
|
1031
|
-
height: 15px;
|
|
1032
|
-
cursor: pointer;
|
|
1033
|
-
}
|
|
1034
|
-
.w-e-panel-content-table td.active {
|
|
1035
|
-
background-color: var(--w-e-toolbar-active-bg-color);
|
|
1036
|
-
}
|
|
1037
|
-
.w-e-modal .babel-container span.babel-container-border {
|
|
1038
|
-
display: flex;
|
|
1039
|
-
}
|
|
1040
|
-
.w-e-modal .babel-container span.babel-container-border > * {
|
|
1041
|
-
height: 28px;
|
|
1042
|
-
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1043
|
-
border-radius: 2px;
|
|
1044
|
-
}
|
|
1045
|
-
.w-e-modal .babel-container span.babel-container-border select {
|
|
1046
|
-
width: 114px;
|
|
1047
|
-
}
|
|
1048
|
-
.w-e-modal .babel-container span.babel-container-border > :nth-child(n+2) {
|
|
1049
|
-
margin-left: 8px;
|
|
1050
|
-
}
|
|
1051
|
-
.w-e-modal .babel-container span.babel-container-border input:nth-child(3) {
|
|
1052
|
-
width: 100px;
|
|
1053
|
-
}
|
|
1054
|
-
.w-e-modal .babel-container span.babel-container-background input {
|
|
1055
|
-
height: 28px;
|
|
1056
|
-
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1057
|
-
border-radius: 2px;
|
|
1058
|
-
width: 60px;
|
|
1059
|
-
}
|
|
1060
|
-
.w-e-modal .babel-container span.babel-container-algin select {
|
|
1061
|
-
height: 28px;
|
|
1062
|
-
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1063
|
-
border-radius: 2px;
|
|
1064
|
-
}
|
|
1065
|
-
.w-e-modal .babel-container .color-group {
|
|
1066
|
-
position: relative;
|
|
1067
|
-
width: 28px;
|
|
1068
|
-
height: 28px;
|
|
1069
|
-
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1070
|
-
border-radius: 2px;
|
|
1071
|
-
cursor: pointer;
|
|
1072
|
-
}
|
|
1073
|
-
.w-e-modal .babel-container .color-group .w-e-drop-panel {
|
|
1074
|
-
margin-top: 28px;
|
|
1075
|
-
}
|
|
1076
|
-
.w-e-modal .babel-container .color-group-block {
|
|
1077
|
-
display: block;
|
|
1078
|
-
width: 80%;
|
|
1079
|
-
height: 80%;
|
|
1080
|
-
margin: 10%;
|
|
1081
|
-
}
|
|
1082
|
-
.w-e-modal .babel-container .color-group-block svg {
|
|
1083
|
-
width: 20px;
|
|
1084
|
-
height: 20px;
|
|
1085
|
-
margin: 1px 0px;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
.w-e-textarea-video-container {
|
|
1089
|
-
text-align: center;
|
|
1090
|
-
border: 1px dashed var(--w-e-textarea-border-color);
|
|
1091
|
-
padding: 10px 0;
|
|
1092
|
-
margin: 0 auto;
|
|
1093
|
-
margin-top: 10px;
|
|
1094
|
-
border-radius: 5px;
|
|
1095
|
-
background-position: 0px 0px, 10px 10px;
|
|
1096
|
-
background-size: 20px 20px;
|
|
1097
|
-
background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%), linear-gradient(45deg, #eee 25%, white 25%, white 75%, #eee 75%, #eee 100%);
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
.w-e-text-container [data-slate-editor] pre > code {
|
|
1102
|
-
text-shadow: 0 1px white;
|
|
1103
|
-
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
|
1104
|
-
text-align: left;
|
|
1105
|
-
white-space: pre;
|
|
1106
|
-
word-spacing: normal;
|
|
1107
|
-
word-break: normal;
|
|
1108
|
-
word-wrap: normal;
|
|
1109
|
-
line-height: 1.5;
|
|
1110
|
-
-moz-tab-size: 4;
|
|
1111
|
-
-o-tab-size: 4;
|
|
1112
|
-
tab-size: 4;
|
|
1113
|
-
-webkit-hyphens: none;
|
|
1114
|
-
hyphens: none;
|
|
1115
|
-
padding: 1em;
|
|
1116
|
-
margin: 0.5em 0;
|
|
1117
|
-
overflow: auto;
|
|
1118
|
-
}
|
|
1119
|
-
.w-e-text-container [data-slate-editor] pre > code .token.comment,
|
|
1120
|
-
.w-e-text-container [data-slate-editor] pre > code .token.prolog,
|
|
1121
|
-
.w-e-text-container [data-slate-editor] pre > code .token.doctype,
|
|
1122
|
-
.w-e-text-container [data-slate-editor] pre > code .token.cdata {
|
|
1123
|
-
color: slategray;
|
|
1124
|
-
}
|
|
1125
|
-
.w-e-text-container [data-slate-editor] pre > code .token.punctuation {
|
|
1126
|
-
color: #999;
|
|
1127
|
-
}
|
|
1128
|
-
.w-e-text-container [data-slate-editor] pre > code .token.namespace {
|
|
1129
|
-
opacity: 0.7;
|
|
1130
|
-
}
|
|
1131
|
-
.w-e-text-container [data-slate-editor] pre > code .token.property,
|
|
1132
|
-
.w-e-text-container [data-slate-editor] pre > code .token.tag,
|
|
1133
|
-
.w-e-text-container [data-slate-editor] pre > code .token.boolean,
|
|
1134
|
-
.w-e-text-container [data-slate-editor] pre > code .token.number,
|
|
1135
|
-
.w-e-text-container [data-slate-editor] pre > code .token.constant,
|
|
1136
|
-
.w-e-text-container [data-slate-editor] pre > code .token.symbol,
|
|
1137
|
-
.w-e-text-container [data-slate-editor] pre > code .token.deleted {
|
|
1138
|
-
color: #905;
|
|
1139
|
-
}
|
|
1140
|
-
.w-e-text-container [data-slate-editor] pre > code .token.selector,
|
|
1141
|
-
.w-e-text-container [data-slate-editor] pre > code .token.attr-name,
|
|
1142
|
-
.w-e-text-container [data-slate-editor] pre > code .token.string,
|
|
1143
|
-
.w-e-text-container [data-slate-editor] pre > code .token.char,
|
|
1144
|
-
.w-e-text-container [data-slate-editor] pre > code .token.builtin,
|
|
1145
|
-
.w-e-text-container [data-slate-editor] pre > code .token.inserted {
|
|
1146
|
-
color: #690;
|
|
1147
|
-
}
|
|
1148
|
-
.w-e-text-container [data-slate-editor] pre > code .token.operator,
|
|
1149
|
-
.w-e-text-container [data-slate-editor] pre > code .token.entity,
|
|
1150
|
-
.w-e-text-container [data-slate-editor] pre > code .token.url,
|
|
1151
|
-
.w-e-text-container [data-slate-editor] pre > code .language-css .token.string,
|
|
1152
|
-
.w-e-text-container [data-slate-editor] pre > code .style .token.string {
|
|
1153
|
-
color: #9a6e3a;
|
|
1154
|
-
}
|
|
1155
|
-
.w-e-text-container [data-slate-editor] pre > code .token.atrule,
|
|
1156
|
-
.w-e-text-container [data-slate-editor] pre > code .token.attr-value,
|
|
1157
|
-
.w-e-text-container [data-slate-editor] pre > code .token.keyword {
|
|
1158
|
-
color: #07a;
|
|
1159
|
-
}
|
|
1160
|
-
.w-e-text-container [data-slate-editor] pre > code .token.function,
|
|
1161
|
-
.w-e-text-container [data-slate-editor] pre > code .token.class-name {
|
|
1162
|
-
color: #DD4A68;
|
|
1163
|
-
}
|
|
1164
|
-
.w-e-text-container [data-slate-editor] pre > code .token.regex,
|
|
1165
|
-
.w-e-text-container [data-slate-editor] pre > code .token.important,
|
|
1166
|
-
.w-e-text-container [data-slate-editor] pre > code .token.variable {
|
|
1167
|
-
color: #e90;
|
|
1168
|
-
}
|
|
1169
|
-
.w-e-text-container [data-slate-editor] pre > code .token.important,
|
|
1170
|
-
.w-e-text-container [data-slate-editor] pre > code .token.bold {
|
|
1171
|
-
font-weight: bold;
|
|
1172
|
-
}
|
|
1173
|
-
.w-e-text-container [data-slate-editor] pre > code .token.italic {
|
|
1174
|
-
font-style: italic;
|
|
1175
|
-
}
|
|
1176
|
-
.w-e-text-container [data-slate-editor] pre > code .token.entity {
|
|
1177
|
-
cursor: help;
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
931
|
.w-e-text-container [data-slate-editor] code {
|
|
1181
932
|
font-family: monospace;
|
|
1182
933
|
background-color: var(--w-e-textarea-slight-bg-color);
|
|
@@ -1305,86 +1056,164 @@ body .w-e-modal * {
|
|
|
1305
1056
|
box-shadow: none;
|
|
1306
1057
|
}
|
|
1307
1058
|
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
.w-e-text-container [data-slate-editor] {
|
|
1062
|
+
/* 干掉 Chrome 默认选区样式*/
|
|
1063
|
+
/* 拖动 Style */
|
|
1064
|
+
}
|
|
1065
|
+
.w-e-text-container [data-slate-editor] .table-container {
|
|
1066
|
+
width: 100%;
|
|
1067
|
+
overflow-x: auto;
|
|
1068
|
+
border: 1px dashed var(--w-e-textarea-border-color);
|
|
1069
|
+
padding: 10px;
|
|
1070
|
+
border-radius: 5px;
|
|
1071
|
+
margin-top: 10px;
|
|
1072
|
+
position: relative;
|
|
1073
|
+
}
|
|
1074
|
+
.w-e-text-container [data-slate-editor] table {
|
|
1075
|
+
border-collapse: collapse;
|
|
1076
|
+
table-layout: fixed;
|
|
1077
|
+
/* 选区拖影 */
|
|
1078
|
+
}
|
|
1079
|
+
.w-e-text-container [data-slate-editor] table td,
|
|
1080
|
+
.w-e-text-container [data-slate-editor] table th {
|
|
1081
|
+
border: 1px solid var(--w-e-textarea-border-color);
|
|
1082
|
+
padding: 3px 5px;
|
|
1083
|
+
min-width: 30px;
|
|
1316
1084
|
line-height: 1.5;
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
-
|
|
1321
|
-
|
|
1322
|
-
padding: 1em;
|
|
1323
|
-
margin: 0.5em 0;
|
|
1324
|
-
overflow: auto;
|
|
1085
|
+
/* 强制换行,table column 宽度必须拖动增大 */
|
|
1086
|
+
overflow: hidden;
|
|
1087
|
+
overflow-wrap: break-word;
|
|
1088
|
+
word-break: break-all;
|
|
1089
|
+
white-space: pre-wrap;
|
|
1325
1090
|
}
|
|
1326
|
-
.w-e-text-container [data-slate-editor]
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1091
|
+
.w-e-text-container [data-slate-editor] table th {
|
|
1092
|
+
background-color: var(--w-e-textarea-slight-bg-color);
|
|
1093
|
+
text-align: center;
|
|
1094
|
+
font-weight: bold;
|
|
1095
|
+
}
|
|
1096
|
+
.w-e-text-container [data-slate-editor] table td.w-e-selected,
|
|
1097
|
+
.w-e-text-container [data-slate-editor] table th.w-e-selected {
|
|
1098
|
+
background-color: rgba(20, 86, 240, 0.18);
|
|
1099
|
+
}
|
|
1100
|
+
.w-e-text-container [data-slate-editor] table.table-selection-none *::-moz-selection {
|
|
1101
|
+
background: none;
|
|
1102
|
+
}
|
|
1103
|
+
.w-e-text-container [data-slate-editor] table.table-selection-none *::selection {
|
|
1104
|
+
background: none;
|
|
1105
|
+
}
|
|
1106
|
+
.w-e-text-container [data-slate-editor] .column-resizer {
|
|
1107
|
+
position: absolute;
|
|
1108
|
+
display: flex;
|
|
1109
|
+
top: 10px;
|
|
1110
|
+
left: 11px;
|
|
1111
|
+
width: 0;
|
|
1112
|
+
height: 0;
|
|
1113
|
+
z-index: 1;
|
|
1114
|
+
}
|
|
1115
|
+
.w-e-text-container [data-slate-editor] .column-resizer .column-resizer-item {
|
|
1116
|
+
position: relative;
|
|
1117
|
+
}
|
|
1118
|
+
.w-e-text-container [data-slate-editor] .resizer-line-hotzone {
|
|
1119
|
+
cursor: col-resize;
|
|
1120
|
+
position: absolute;
|
|
1121
|
+
width: 10px;
|
|
1122
|
+
right: -3px;
|
|
1123
|
+
visibility: hidden;
|
|
1124
|
+
opacity: 0;
|
|
1125
|
+
transition: opacity 0.2s ease, visibility 0.2s ease;
|
|
1126
|
+
}
|
|
1127
|
+
.w-e-text-container [data-slate-editor] .resizer-line-hotzone .resizer-line {
|
|
1128
|
+
height: 100%;
|
|
1129
|
+
width: 2px;
|
|
1130
|
+
margin-left: 5px;
|
|
1131
|
+
background: rgba(20, 86, 240, 0.8);
|
|
1132
|
+
-webkit-user-select: none;
|
|
1133
|
+
-moz-user-select: none;
|
|
1134
|
+
user-select: none;
|
|
1135
|
+
}
|
|
1136
|
+
.w-e-text-container [data-slate-editor] .resizer-line-hotzone.visible {
|
|
1137
|
+
visibility: visible;
|
|
1138
|
+
}
|
|
1139
|
+
.w-e-text-container [data-slate-editor] .resizer-line-hotzone.highlight {
|
|
1140
|
+
opacity: 1;
|
|
1141
|
+
}
|
|
1142
|
+
.w-e-panel-content-table {
|
|
1143
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
1144
|
+
}
|
|
1145
|
+
.w-e-panel-content-table table {
|
|
1146
|
+
border-collapse: collapse;
|
|
1147
|
+
table-layout: fixed;
|
|
1148
|
+
}
|
|
1149
|
+
.w-e-panel-content-table th,
|
|
1150
|
+
.w-e-panel-content-table td {
|
|
1151
|
+
overflow: hidden;
|
|
1152
|
+
overflow-wrap: break-word;
|
|
1153
|
+
word-break: break-all;
|
|
1154
|
+
white-space: pre-wrap;
|
|
1155
|
+
}
|
|
1156
|
+
.w-e-panel-content-table td {
|
|
1157
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
1158
|
+
padding: 3px 5px;
|
|
1159
|
+
width: 20px;
|
|
1160
|
+
height: 15px;
|
|
1161
|
+
cursor: pointer;
|
|
1162
|
+
}
|
|
1163
|
+
.w-e-panel-content-table td.active {
|
|
1164
|
+
background-color: var(--w-e-toolbar-active-bg-color);
|
|
1331
1165
|
}
|
|
1332
|
-
.w-e-
|
|
1333
|
-
|
|
1166
|
+
.w-e-modal .babel-container span.babel-container-border {
|
|
1167
|
+
display: flex;
|
|
1334
1168
|
}
|
|
1335
|
-
.w-e-
|
|
1336
|
-
|
|
1169
|
+
.w-e-modal .babel-container span.babel-container-border > * {
|
|
1170
|
+
height: 28px;
|
|
1171
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1172
|
+
border-radius: 2px;
|
|
1337
1173
|
}
|
|
1338
|
-
.w-e-
|
|
1339
|
-
|
|
1340
|
-
.w-e-text-container [data-slate-editor] pre > code .token.boolean,
|
|
1341
|
-
.w-e-text-container [data-slate-editor] pre > code .token.number,
|
|
1342
|
-
.w-e-text-container [data-slate-editor] pre > code .token.constant,
|
|
1343
|
-
.w-e-text-container [data-slate-editor] pre > code .token.symbol,
|
|
1344
|
-
.w-e-text-container [data-slate-editor] pre > code .token.deleted {
|
|
1345
|
-
color: #905;
|
|
1174
|
+
.w-e-modal .babel-container span.babel-container-border select {
|
|
1175
|
+
width: 114px;
|
|
1346
1176
|
}
|
|
1347
|
-
.w-e-
|
|
1348
|
-
|
|
1349
|
-
.w-e-text-container [data-slate-editor] pre > code .token.string,
|
|
1350
|
-
.w-e-text-container [data-slate-editor] pre > code .token.char,
|
|
1351
|
-
.w-e-text-container [data-slate-editor] pre > code .token.builtin,
|
|
1352
|
-
.w-e-text-container [data-slate-editor] pre > code .token.inserted {
|
|
1353
|
-
color: #690;
|
|
1177
|
+
.w-e-modal .babel-container span.babel-container-border > :nth-child(n+2) {
|
|
1178
|
+
margin-left: 8px;
|
|
1354
1179
|
}
|
|
1355
|
-
.w-e-
|
|
1356
|
-
|
|
1357
|
-
.w-e-text-container [data-slate-editor] pre > code .token.url,
|
|
1358
|
-
.w-e-text-container [data-slate-editor] pre > code .language-css .token.string,
|
|
1359
|
-
.w-e-text-container [data-slate-editor] pre > code .style .token.string {
|
|
1360
|
-
color: #9a6e3a;
|
|
1180
|
+
.w-e-modal .babel-container span.babel-container-border input:nth-child(3) {
|
|
1181
|
+
width: 100px;
|
|
1361
1182
|
}
|
|
1362
|
-
.w-e-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1183
|
+
.w-e-modal .babel-container span.babel-container-background input {
|
|
1184
|
+
height: 28px;
|
|
1185
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1186
|
+
border-radius: 2px;
|
|
1187
|
+
width: 60px;
|
|
1366
1188
|
}
|
|
1367
|
-
.w-e-
|
|
1368
|
-
|
|
1369
|
-
|
|
1189
|
+
.w-e-modal .babel-container span.babel-container-algin select {
|
|
1190
|
+
height: 28px;
|
|
1191
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1192
|
+
border-radius: 2px;
|
|
1370
1193
|
}
|
|
1371
|
-
.w-e-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1194
|
+
.w-e-modal .babel-container .color-group {
|
|
1195
|
+
position: relative;
|
|
1196
|
+
width: 28px;
|
|
1197
|
+
height: 28px;
|
|
1198
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1199
|
+
border-radius: 2px;
|
|
1200
|
+
cursor: pointer;
|
|
1375
1201
|
}
|
|
1376
|
-
.w-e-
|
|
1377
|
-
|
|
1378
|
-
font-weight: bold;
|
|
1202
|
+
.w-e-modal .babel-container .color-group .w-e-drop-panel {
|
|
1203
|
+
margin-top: 28px;
|
|
1379
1204
|
}
|
|
1380
|
-
.w-e-
|
|
1381
|
-
|
|
1205
|
+
.w-e-modal .babel-container .color-group-block {
|
|
1206
|
+
display: block;
|
|
1207
|
+
width: 80%;
|
|
1208
|
+
height: 80%;
|
|
1209
|
+
margin: 10%;
|
|
1382
1210
|
}
|
|
1383
|
-
.w-e-
|
|
1384
|
-
|
|
1211
|
+
.w-e-modal .babel-container .color-group-block svg {
|
|
1212
|
+
width: 20px;
|
|
1213
|
+
height: 20px;
|
|
1214
|
+
margin: 1px 0px;
|
|
1385
1215
|
}
|
|
1386
1216
|
|
|
1387
|
-
|
|
1388
1217
|
.w-e-text-container [data-slate-editor] {
|
|
1389
1218
|
/* 干掉 Chrome 默认选区样式*/
|
|
1390
1219
|
/* 拖动 Style */
|
|
@@ -1541,6 +1370,17 @@ body .w-e-modal * {
|
|
|
1541
1370
|
margin: 1px 0px;
|
|
1542
1371
|
}
|
|
1543
1372
|
|
|
1373
|
+
.w-e-textarea-video-container {
|
|
1374
|
+
text-align: center;
|
|
1375
|
+
border: 1px dashed var(--w-e-textarea-border-color);
|
|
1376
|
+
padding: 10px 0;
|
|
1377
|
+
margin: 0 auto;
|
|
1378
|
+
margin-top: 10px;
|
|
1379
|
+
border-radius: 5px;
|
|
1380
|
+
background-position: 0px 0px, 10px 10px;
|
|
1381
|
+
background-size: 20px 20px;
|
|
1382
|
+
background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%), linear-gradient(45deg, #eee 25%, white 25%, white 75%, #eee 75%, #eee 100%);
|
|
1383
|
+
}
|
|
1544
1384
|
|
|
1545
1385
|
.w-e-textarea-video-container {
|
|
1546
1386
|
text-align: center;
|
|
@@ -1553,3 +1393,163 @@ body .w-e-modal * {
|
|
|
1553
1393
|
background-size: 20px 20px;
|
|
1554
1394
|
background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%), linear-gradient(45deg, #eee 25%, white 25%, white 75%, #eee 75%, #eee 100%);
|
|
1555
1395
|
}
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
.w-e-text-container [data-slate-editor] pre > code {
|
|
1400
|
+
text-shadow: 0 1px white;
|
|
1401
|
+
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
|
1402
|
+
text-align: left;
|
|
1403
|
+
white-space: pre;
|
|
1404
|
+
word-spacing: normal;
|
|
1405
|
+
word-break: normal;
|
|
1406
|
+
word-wrap: normal;
|
|
1407
|
+
line-height: 1.5;
|
|
1408
|
+
-moz-tab-size: 4;
|
|
1409
|
+
-o-tab-size: 4;
|
|
1410
|
+
tab-size: 4;
|
|
1411
|
+
-webkit-hyphens: none;
|
|
1412
|
+
hyphens: none;
|
|
1413
|
+
padding: 1em;
|
|
1414
|
+
margin: 0.5em 0;
|
|
1415
|
+
overflow: auto;
|
|
1416
|
+
}
|
|
1417
|
+
.w-e-text-container [data-slate-editor] pre > code .token.comment,
|
|
1418
|
+
.w-e-text-container [data-slate-editor] pre > code .token.prolog,
|
|
1419
|
+
.w-e-text-container [data-slate-editor] pre > code .token.doctype,
|
|
1420
|
+
.w-e-text-container [data-slate-editor] pre > code .token.cdata {
|
|
1421
|
+
color: slategray;
|
|
1422
|
+
}
|
|
1423
|
+
.w-e-text-container [data-slate-editor] pre > code .token.punctuation {
|
|
1424
|
+
color: #999;
|
|
1425
|
+
}
|
|
1426
|
+
.w-e-text-container [data-slate-editor] pre > code .token.namespace {
|
|
1427
|
+
opacity: 0.7;
|
|
1428
|
+
}
|
|
1429
|
+
.w-e-text-container [data-slate-editor] pre > code .token.property,
|
|
1430
|
+
.w-e-text-container [data-slate-editor] pre > code .token.tag,
|
|
1431
|
+
.w-e-text-container [data-slate-editor] pre > code .token.boolean,
|
|
1432
|
+
.w-e-text-container [data-slate-editor] pre > code .token.number,
|
|
1433
|
+
.w-e-text-container [data-slate-editor] pre > code .token.constant,
|
|
1434
|
+
.w-e-text-container [data-slate-editor] pre > code .token.symbol,
|
|
1435
|
+
.w-e-text-container [data-slate-editor] pre > code .token.deleted {
|
|
1436
|
+
color: #905;
|
|
1437
|
+
}
|
|
1438
|
+
.w-e-text-container [data-slate-editor] pre > code .token.selector,
|
|
1439
|
+
.w-e-text-container [data-slate-editor] pre > code .token.attr-name,
|
|
1440
|
+
.w-e-text-container [data-slate-editor] pre > code .token.string,
|
|
1441
|
+
.w-e-text-container [data-slate-editor] pre > code .token.char,
|
|
1442
|
+
.w-e-text-container [data-slate-editor] pre > code .token.builtin,
|
|
1443
|
+
.w-e-text-container [data-slate-editor] pre > code .token.inserted {
|
|
1444
|
+
color: #690;
|
|
1445
|
+
}
|
|
1446
|
+
.w-e-text-container [data-slate-editor] pre > code .token.operator,
|
|
1447
|
+
.w-e-text-container [data-slate-editor] pre > code .token.entity,
|
|
1448
|
+
.w-e-text-container [data-slate-editor] pre > code .token.url,
|
|
1449
|
+
.w-e-text-container [data-slate-editor] pre > code .language-css .token.string,
|
|
1450
|
+
.w-e-text-container [data-slate-editor] pre > code .style .token.string {
|
|
1451
|
+
color: #9a6e3a;
|
|
1452
|
+
}
|
|
1453
|
+
.w-e-text-container [data-slate-editor] pre > code .token.atrule,
|
|
1454
|
+
.w-e-text-container [data-slate-editor] pre > code .token.attr-value,
|
|
1455
|
+
.w-e-text-container [data-slate-editor] pre > code .token.keyword {
|
|
1456
|
+
color: #07a;
|
|
1457
|
+
}
|
|
1458
|
+
.w-e-text-container [data-slate-editor] pre > code .token.function,
|
|
1459
|
+
.w-e-text-container [data-slate-editor] pre > code .token.class-name {
|
|
1460
|
+
color: #DD4A68;
|
|
1461
|
+
}
|
|
1462
|
+
.w-e-text-container [data-slate-editor] pre > code .token.regex,
|
|
1463
|
+
.w-e-text-container [data-slate-editor] pre > code .token.important,
|
|
1464
|
+
.w-e-text-container [data-slate-editor] pre > code .token.variable {
|
|
1465
|
+
color: #e90;
|
|
1466
|
+
}
|
|
1467
|
+
.w-e-text-container [data-slate-editor] pre > code .token.important,
|
|
1468
|
+
.w-e-text-container [data-slate-editor] pre > code .token.bold {
|
|
1469
|
+
font-weight: bold;
|
|
1470
|
+
}
|
|
1471
|
+
.w-e-text-container [data-slate-editor] pre > code .token.italic {
|
|
1472
|
+
font-style: italic;
|
|
1473
|
+
}
|
|
1474
|
+
.w-e-text-container [data-slate-editor] pre > code .token.entity {
|
|
1475
|
+
cursor: help;
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
.w-e-text-container [data-slate-editor] pre > code {
|
|
1479
|
+
text-shadow: 0 1px white;
|
|
1480
|
+
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
|
1481
|
+
text-align: left;
|
|
1482
|
+
white-space: pre;
|
|
1483
|
+
word-spacing: normal;
|
|
1484
|
+
word-break: normal;
|
|
1485
|
+
word-wrap: normal;
|
|
1486
|
+
line-height: 1.5;
|
|
1487
|
+
-moz-tab-size: 4;
|
|
1488
|
+
-o-tab-size: 4;
|
|
1489
|
+
tab-size: 4;
|
|
1490
|
+
-webkit-hyphens: none;
|
|
1491
|
+
hyphens: none;
|
|
1492
|
+
padding: 1em;
|
|
1493
|
+
margin: 0.5em 0;
|
|
1494
|
+
overflow: auto;
|
|
1495
|
+
}
|
|
1496
|
+
.w-e-text-container [data-slate-editor] pre > code .token.comment,
|
|
1497
|
+
.w-e-text-container [data-slate-editor] pre > code .token.prolog,
|
|
1498
|
+
.w-e-text-container [data-slate-editor] pre > code .token.doctype,
|
|
1499
|
+
.w-e-text-container [data-slate-editor] pre > code .token.cdata {
|
|
1500
|
+
color: slategray;
|
|
1501
|
+
}
|
|
1502
|
+
.w-e-text-container [data-slate-editor] pre > code .token.punctuation {
|
|
1503
|
+
color: #999;
|
|
1504
|
+
}
|
|
1505
|
+
.w-e-text-container [data-slate-editor] pre > code .token.namespace {
|
|
1506
|
+
opacity: 0.7;
|
|
1507
|
+
}
|
|
1508
|
+
.w-e-text-container [data-slate-editor] pre > code .token.property,
|
|
1509
|
+
.w-e-text-container [data-slate-editor] pre > code .token.tag,
|
|
1510
|
+
.w-e-text-container [data-slate-editor] pre > code .token.boolean,
|
|
1511
|
+
.w-e-text-container [data-slate-editor] pre > code .token.number,
|
|
1512
|
+
.w-e-text-container [data-slate-editor] pre > code .token.constant,
|
|
1513
|
+
.w-e-text-container [data-slate-editor] pre > code .token.symbol,
|
|
1514
|
+
.w-e-text-container [data-slate-editor] pre > code .token.deleted {
|
|
1515
|
+
color: #905;
|
|
1516
|
+
}
|
|
1517
|
+
.w-e-text-container [data-slate-editor] pre > code .token.selector,
|
|
1518
|
+
.w-e-text-container [data-slate-editor] pre > code .token.attr-name,
|
|
1519
|
+
.w-e-text-container [data-slate-editor] pre > code .token.string,
|
|
1520
|
+
.w-e-text-container [data-slate-editor] pre > code .token.char,
|
|
1521
|
+
.w-e-text-container [data-slate-editor] pre > code .token.builtin,
|
|
1522
|
+
.w-e-text-container [data-slate-editor] pre > code .token.inserted {
|
|
1523
|
+
color: #690;
|
|
1524
|
+
}
|
|
1525
|
+
.w-e-text-container [data-slate-editor] pre > code .token.operator,
|
|
1526
|
+
.w-e-text-container [data-slate-editor] pre > code .token.entity,
|
|
1527
|
+
.w-e-text-container [data-slate-editor] pre > code .token.url,
|
|
1528
|
+
.w-e-text-container [data-slate-editor] pre > code .language-css .token.string,
|
|
1529
|
+
.w-e-text-container [data-slate-editor] pre > code .style .token.string {
|
|
1530
|
+
color: #9a6e3a;
|
|
1531
|
+
}
|
|
1532
|
+
.w-e-text-container [data-slate-editor] pre > code .token.atrule,
|
|
1533
|
+
.w-e-text-container [data-slate-editor] pre > code .token.attr-value,
|
|
1534
|
+
.w-e-text-container [data-slate-editor] pre > code .token.keyword {
|
|
1535
|
+
color: #07a;
|
|
1536
|
+
}
|
|
1537
|
+
.w-e-text-container [data-slate-editor] pre > code .token.function,
|
|
1538
|
+
.w-e-text-container [data-slate-editor] pre > code .token.class-name {
|
|
1539
|
+
color: #DD4A68;
|
|
1540
|
+
}
|
|
1541
|
+
.w-e-text-container [data-slate-editor] pre > code .token.regex,
|
|
1542
|
+
.w-e-text-container [data-slate-editor] pre > code .token.important,
|
|
1543
|
+
.w-e-text-container [data-slate-editor] pre > code .token.variable {
|
|
1544
|
+
color: #e90;
|
|
1545
|
+
}
|
|
1546
|
+
.w-e-text-container [data-slate-editor] pre > code .token.important,
|
|
1547
|
+
.w-e-text-container [data-slate-editor] pre > code .token.bold {
|
|
1548
|
+
font-weight: bold;
|
|
1549
|
+
}
|
|
1550
|
+
.w-e-text-container [data-slate-editor] pre > code .token.italic {
|
|
1551
|
+
font-style: italic;
|
|
1552
|
+
}
|
|
1553
|
+
.w-e-text-container [data-slate-editor] pre > code .token.entity {
|
|
1554
|
+
cursor: help;
|
|
1555
|
+
}
|