diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index 6bb8ea0889c..75502e78c3f 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -11,7 +11,7 @@
"@gatsbyjs/reach-router": "1.3.9",
"@seafile/react-image-lightbox": "2.0.2",
"@seafile/resumablejs": "1.1.16",
- "@seafile/sdoc-editor": "0.1.88",
+ "@seafile/sdoc-editor": "0.1.89",
"@seafile/seafile-calendar": "0.0.12",
"@seafile/seafile-editor": "0.3.132",
"@seafile/slate-react": "0.54.13",
@@ -5207,9 +5207,9 @@
"license": "MIT"
},
"node_modules/@seafile/sdoc-editor": {
- "version": "0.1.88",
- "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.1.88.tgz",
- "integrity": "sha512-tfqoajRMnRoqG7nTtPGooB4gj4IfCXxoir5OqWCt7RI8jpNDnhC4GpvGVEmFU7znyD3vAMytrnCYoRkxANWZdw==",
+ "version": "0.1.89",
+ "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.1.89.tgz",
+ "integrity": "sha512-dW28llxc4aOdptIDZTprvXWozaQadkt3S71Ck9olGFToL+cxUrmMTvCWFEurp+QDC3LFb+pByGZ1CCnSdvtvQA==",
"dependencies": {
"@seafile/react-image-lightbox": "2.0.2",
"@seafile/slate": "0.91.8",
@@ -33418,9 +33418,9 @@
"version": "1.1.16"
},
"@seafile/sdoc-editor": {
- "version": "0.1.88",
- "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.1.88.tgz",
- "integrity": "sha512-tfqoajRMnRoqG7nTtPGooB4gj4IfCXxoir5OqWCt7RI8jpNDnhC4GpvGVEmFU7znyD3vAMytrnCYoRkxANWZdw==",
+ "version": "0.1.89",
+ "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.1.89.tgz",
+ "integrity": "sha512-dW28llxc4aOdptIDZTprvXWozaQadkt3S71Ck9olGFToL+cxUrmMTvCWFEurp+QDC3LFb+pByGZ1CCnSdvtvQA==",
"requires": {
"@seafile/react-image-lightbox": "2.0.2",
"@seafile/slate": "0.91.8",
diff --git a/frontend/package.json b/frontend/package.json
index 0c519a0ac6b..e4465bd1b81 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -6,7 +6,7 @@
"@gatsbyjs/reach-router": "1.3.9",
"@seafile/react-image-lightbox": "2.0.2",
"@seafile/resumablejs": "1.1.16",
- "@seafile/sdoc-editor": "0.1.88",
+ "@seafile/sdoc-editor": "0.1.89",
"@seafile/seafile-calendar": "0.0.12",
"@seafile/seafile-editor": "0.3.132",
"@seafile/slate-react": "0.54.13",
diff --git a/media/sdoc-editor/sdoc-editor-font.css b/media/sdoc-editor/sdoc-editor-font.css
index c83e1409337..59487946cd1 100644
--- a/media/sdoc-editor/sdoc-editor-font.css
+++ b/media/sdoc-editor/sdoc-editor-font.css
@@ -1,11 +1,11 @@
@font-face {
font-family: "sdocfont"; /* Project id 4097705 */
- src: url('./sdoc-editor-font/iconfont.eot?t=1689838000925'); /* IE9 */
- src: url('./sdoc-editor-font/iconfont.eot?t=1689838000925#iefix') format('embedded-opentype'), /* IE6-IE8 */
- url('./sdoc-editor-font/iconfont.woff2?t=1689838000925') format('woff2'),
- url('./sdoc-editor-font/iconfont.woff?t=1689838000925') format('woff'),
- url('./sdoc-editor-font/iconfont.ttf?t=1689838000925') format('truetype'),
- url('./sdoc-editor-font/iconfont.svg?t=1689838000925#sdocfont') format('svg');
+ src: url('./sdoc-editor-font/iconfont.eot?t=1690191058909'); /* IE9 */
+ src: url('./sdoc-editor-font/iconfont.eot?t=1690191058909#iefix') format('embedded-opentype'), /* IE6-IE8 */
+ url('./sdoc-editor-font/iconfont.woff2?t=1690191058909') format('woff2'),
+ url('./sdoc-editor-font/iconfont.woff?t=1690191058909') format('woff'),
+ url('./sdoc-editor-font/iconfont.ttf?t=1690191058909') format('truetype'),
+ url('./sdoc-editor-font/iconfont.svg?t=1690191058909#sdocfont') format('svg');
}
.sdocfont {
@@ -16,6 +16,18 @@
-moz-osx-font-smoothing: grayscale;
}
+.sdoc-font-color:before {
+ content: "\e606";
+}
+
+.sdoc-highlight-color:before {
+ content: "\e605";
+}
+
+.sdoc-format-clear:before {
+ content: "\e603";
+}
+
.sdoc-bg-color:before {
content: "\e604";
}
diff --git a/media/sdoc-editor/sdoc-editor-font/iconfont.eot b/media/sdoc-editor/sdoc-editor-font/iconfont.eot
index c0586226ece..99c93d837c6 100644
Binary files a/media/sdoc-editor/sdoc-editor-font/iconfont.eot and b/media/sdoc-editor/sdoc-editor-font/iconfont.eot differ
diff --git a/media/sdoc-editor/sdoc-editor-font/iconfont.svg b/media/sdoc-editor/sdoc-editor-font/iconfont.svg
index 0bdecd5e582..126466327f7 100644
--- a/media/sdoc-editor/sdoc-editor-font/iconfont.svg
+++ b/media/sdoc-editor/sdoc-editor-font/iconfont.svg
@@ -14,6 +14,12 @@
/>
+
+
+
+
+
+
diff --git a/media/sdoc-editor/sdoc-editor-font/iconfont.ttf b/media/sdoc-editor/sdoc-editor-font/iconfont.ttf
index 853df046734..682c5089545 100644
Binary files a/media/sdoc-editor/sdoc-editor-font/iconfont.ttf and b/media/sdoc-editor/sdoc-editor-font/iconfont.ttf differ
diff --git a/media/sdoc-editor/sdoc-editor-font/iconfont.woff b/media/sdoc-editor/sdoc-editor-font/iconfont.woff
index 8976d40c9c6..98dcdc449d1 100644
Binary files a/media/sdoc-editor/sdoc-editor-font/iconfont.woff and b/media/sdoc-editor/sdoc-editor-font/iconfont.woff differ
diff --git a/media/sdoc-editor/sdoc-editor-font/iconfont.woff2 b/media/sdoc-editor/sdoc-editor-font/iconfont.woff2
index d966535956d..aaccc0a5083 100644
Binary files a/media/sdoc-editor/sdoc-editor-font/iconfont.woff2 and b/media/sdoc-editor/sdoc-editor-font/iconfont.woff2 differ