@seafile/sdoc-editor 3.0.189 → 3.0.190
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.
|
@@ -52,7 +52,7 @@ var getEmbedLinkType = exports.getEmbedLinkType = function getEmbedLinkType(text
|
|
|
52
52
|
var host = url.hostname.toLowerCase();
|
|
53
53
|
var path = url.pathname.toLowerCase();
|
|
54
54
|
// SeaTable
|
|
55
|
-
var isSeaTable = /(^|\.)seatable\.cn$/.test(host) && /^\/workspace\/\d+\/dtable\/.+/.test(path);
|
|
55
|
+
var isSeaTable = /(^|\.)seatable\.(cn|io)$/.test(host) && /^\/workspace\/\d+\/dtable\/.+/.test(path);
|
|
56
56
|
if (isSeaTable) return _constants2.EMBED_LINK_SOURCE.SEATABLE;
|
|
57
57
|
|
|
58
58
|
// Figma
|
|
@@ -10,13 +10,30 @@
|
|
|
10
10
|
|
|
11
11
|
.sdoc-toggle-header-row .sdoc-toggle-header-prefix {
|
|
12
12
|
display: inline-block;
|
|
13
|
-
height:
|
|
14
|
-
|
|
13
|
+
height: 24px;
|
|
14
|
+
width: 24px;
|
|
15
|
+
line-height: 24px;
|
|
15
16
|
text-align: center;
|
|
16
17
|
margin-right: 5px;
|
|
17
18
|
cursor: pointer;
|
|
18
19
|
}
|
|
19
20
|
|
|
21
|
+
.sdoc-toggle-header-row .sdoc-toggle-header-prefix:hover {
|
|
22
|
+
background-color: rgba(42, 28, 0, .07);
|
|
23
|
+
border-radius: 2px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.sdoc-toggle-header-row .sdoc-toggle-header-prefix .sdocfont {
|
|
27
|
+
width: 12.8px;
|
|
28
|
+
height: 12.8px;
|
|
29
|
+
font-size: 12.8px;
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
color: rgb(44, 44, 43);
|
|
34
|
+
opacity: 0.5;
|
|
35
|
+
}
|
|
36
|
+
|
|
20
37
|
.sdoc-toggle-header-prefix:has(.sdoc-big-caret-up) {
|
|
21
38
|
transform: rotate(90deg);
|
|
22
39
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seafile/sdoc-editor",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.190",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "jest",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "d5d8ed65098b9b1c5ce7111bb5d578f1231901c7"
|
|
76
76
|
}
|