diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 5e722186e6..a8d297053f 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -12,7 +12,7 @@ "@gatsbyjs/reach-router": "1.3.9", "@seafile/react-image-lightbox": "2.0.2", "@seafile/resumablejs": "1.1.16", - "@seafile/sdoc-editor": "0.4.22", + "@seafile/sdoc-editor": "0.4.23", "@seafile/seafile-calendar": "0.0.12", "@seafile/seafile-editor": "1.0.20", "@uiw/codemirror-extensions-langs": "^4.19.4", @@ -4607,9 +4607,9 @@ "integrity": "sha512-8rBbmAEuuwOAGHYGCtEzpx+bxAcGS+V30otMmhRe7bPAdh4E57RWgCa8x7pkzHGFlY1t5d+ILz1gojvPVMYQig==" }, "node_modules/@seafile/sdoc-editor": { - "version": "0.4.22", - "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.4.22.tgz", - "integrity": "sha512-EnDmH6GiP3+AGEoKou4IEhlW/RU0mubWRKjJCdqZmaDDCsMDVvFW+RypTp7PC8yQqqi1VYW9Q1kYplmtX916Yw==", + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.4.23.tgz", + "integrity": "sha512-0YSr5zCz4MnwtEZex8gXL0IS9tzOAiPJ9MD8fOGTGjk4snmYoiUccVCw1LlSU2rBspoFQK5p4u+787RABmqU9A==", "dependencies": { "@seafile/react-image-lightbox": "2.0.4", "@seafile/slate": "0.91.8", @@ -31643,9 +31643,9 @@ "integrity": "sha512-8rBbmAEuuwOAGHYGCtEzpx+bxAcGS+V30otMmhRe7bPAdh4E57RWgCa8x7pkzHGFlY1t5d+ILz1gojvPVMYQig==" }, "@seafile/sdoc-editor": { - "version": "0.4.22", - "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.4.22.tgz", - "integrity": "sha512-EnDmH6GiP3+AGEoKou4IEhlW/RU0mubWRKjJCdqZmaDDCsMDVvFW+RypTp7PC8yQqqi1VYW9Q1kYplmtX916Yw==", + "version": "0.4.23", + "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.4.23.tgz", + "integrity": "sha512-0YSr5zCz4MnwtEZex8gXL0IS9tzOAiPJ9MD8fOGTGjk4snmYoiUccVCw1LlSU2rBspoFQK5p4u+787RABmqU9A==", "requires": { "@seafile/react-image-lightbox": "2.0.4", "@seafile/slate": "0.91.8", diff --git a/frontend/package.json b/frontend/package.json index ad75ae757c..719f40ab12 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -7,7 +7,7 @@ "@gatsbyjs/reach-router": "1.3.9", "@seafile/react-image-lightbox": "2.0.2", "@seafile/resumablejs": "1.1.16", - "@seafile/sdoc-editor": "0.4.22", + "@seafile/sdoc-editor": "0.4.23", "@seafile/seafile-calendar": "0.0.12", "@seafile/seafile-editor": "1.0.20", "@uiw/codemirror-extensions-langs": "^4.19.4", diff --git a/media/sdoc-editor/sdoc-editor-font.css b/media/sdoc-editor/sdoc-editor-font.css index c1e0b8eef7..7b9e8e6fe3 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=1702000194437'); /* IE9 */ - src: url('./sdoc-editor-font/iconfont.eot?t=1702000194437#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('./sdoc-editor-font/iconfont.woff2?t=1702000194437') format('woff2'), - url('./sdoc-editor-font/iconfont.woff?t=1702000194437') format('woff'), - url('./sdoc-editor-font/iconfont.ttf?t=1702000194437') format('truetype'), - url('./sdoc-editor-font/iconfont.svg?t=1702000194437#sdocfont') format('svg'); + src: url('./sdoc-editor-font/iconfont.eot?t=1705289986460'); /* IE9 */ + src: url('./sdoc-editor-font/iconfont.eot?t=1705289986460#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('./sdoc-editor-font/iconfont.woff2?t=1705289986460') format('woff2'), + url('./sdoc-editor-font/iconfont.woff?t=1705289986460') format('woff'), + url('./sdoc-editor-font/iconfont.ttf?t=1705289986460') format('truetype'), + url('./sdoc-editor-font/iconfont.svg?t=1705289986460#sdocfont') format('svg'); } .sdocfont { @@ -16,6 +16,38 @@ -moz-osx-font-smoothing: grayscale; } +.sdoc-callout-color:before { + content: "\e666"; +} + +.sdoc-callout-icon:before { + content: "\e665"; +} + +.sdoc-trumpet:before { + content: "\e664"; +} + +.sdoc-light-bulb:before { + content: "\e663"; +} + +.sdoc-danger:before { + content: "\e662"; +} + +.sdoc-prohibit:before { + content: "\e661"; +} + +.sdoc-filter:before { + content: "\e65e"; +} + +.sdoc-chart:before { + content: "\e65b"; +} + .sdoc-comment-quote:before { content: "\e660"; } @@ -36,10 +68,6 @@ content: "\e65c"; } -.sdoc-chart:before { - content: "\e65b"; -} - .sdoc-add:before { content: "\e658"; } diff --git a/media/sdoc-editor/sdoc-editor-font/iconfont.eot b/media/sdoc-editor/sdoc-editor-font/iconfont.eot index 2639db2272..865ef2dedd 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 ee4598043a..4b073612c8 100644 --- a/media/sdoc-editor/sdoc-editor-font/iconfont.svg +++ b/media/sdoc-editor/sdoc-editor-font/iconfont.svg @@ -14,6 +14,22 @@ /> + + + + + + + + + + + + + + + + @@ -24,8 +40,6 @@ - - diff --git a/media/sdoc-editor/sdoc-editor-font/iconfont.ttf b/media/sdoc-editor/sdoc-editor-font/iconfont.ttf index 2d67813278..557ce8cdd7 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 4be0cd6aca..fa9cad1486 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 4e5ecbcca6..4368bfb002 100644 Binary files a/media/sdoc-editor/sdoc-editor-font/iconfont.woff2 and b/media/sdoc-editor/sdoc-editor-font/iconfont.woff2 differ