1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-21 10:51:17 +00:00

update sdoc editor version

This commit is contained in:
小强
2025-10-11 16:07:55 +08:00
parent 22302cf1f3
commit 140a5768ce
9 changed files with 34 additions and 24 deletions

View File

@@ -20,7 +20,7 @@
"@seafile/resumablejs": "1.1.16",
"@seafile/seafile-calendar": "0.1.1",
"@seafile/seafile-editor": "2.0.33",
"@seafile/seafile-sdoc-editor": "2.0.99",
"@seafile/seafile-sdoc-editor": "2.0.100",
"@seafile/stldraw-editor": "1.0.1",
"@uiw/codemirror-extensions-langs": "^4.19.4",
"@uiw/codemirror-themes": "^4.23.5",
@@ -5659,9 +5659,9 @@
"license": "MIT"
},
"node_modules/@seafile/sdoc-editor": {
"version": "2.0.182",
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-2.0.182.tgz",
"integrity": "sha512-K8OdUrWXEsAI3udGG8vYH5/lHOr0eJZa/+ZOth9cl7mEvQ55lWxuvwDBUd9pdZtuuPOSB6FQVy2GnDbUCPdHGQ==",
"version": "2.0.183",
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-2.0.183.tgz",
"integrity": "sha512-gH68fFWulz5K5Nre6dmD+LtkkVEwFGt6cjJELe7HN3n5+N3qIcj8MBD+Laa/dqSQs0VxeR7KdaeKcUv/vrekQg==",
"license": "ISC",
"dependencies": {
"@seafile/comment-editor": "0.0.14",
@@ -5927,13 +5927,13 @@
}
},
"node_modules/@seafile/seafile-sdoc-editor": {
"version": "2.0.99",
"resolved": "https://registry.npmjs.org/@seafile/seafile-sdoc-editor/-/seafile-sdoc-editor-2.0.99.tgz",
"integrity": "sha512-XOqK0DKs8OsJOts6SZUbU8jdnZxkSEtSgX2SzuFWCFVuKnryMCTBADiUPcMGrfHF2TzKLFAQlb5SoyiM0MoRuQ==",
"version": "2.0.100",
"resolved": "https://registry.npmjs.org/@seafile/seafile-sdoc-editor/-/seafile-sdoc-editor-2.0.100.tgz",
"integrity": "sha512-hE5FooydoPV3fK47H6f29vqL5W+kdZfYEYQ3oWtMRBIXouf0lTINJqDeIXFnB1+awvgfruL8b2HQyE2S0ccw0A==",
"license": "ISC",
"dependencies": {
"@seafile/print-js": "1.6.6",
"@seafile/sdoc-editor": "^2.0.182",
"@seafile/sdoc-editor": "^2.0.183",
"classnames": "2.3.2",
"dayjs": "1.10.7"
},

View File

@@ -15,7 +15,7 @@
"@seafile/resumablejs": "1.1.16",
"@seafile/seafile-calendar": "0.1.1",
"@seafile/seafile-editor": "2.0.33",
"@seafile/seafile-sdoc-editor": "2.0.99",
"@seafile/seafile-sdoc-editor": "2.0.100",
"@seafile/stldraw-editor": "1.0.1",
"@uiw/codemirror-extensions-langs": "^4.19.4",
"@uiw/codemirror-themes": "^4.23.5",

View File

@@ -1,14 +1,14 @@
@font-face {
font-family: "sdocfont";
/* Project id 4097705 */
src: url('./sdoc-editor-font/iconfont.eot?t=1755584900550');
src: url('./sdoc-editor-font/iconfont.eot?t=1759051235368');
/* IE9 */
src: url('./sdoc-editor-font/iconfont.eot?t=1755584900550#iefix') format('embedded-opentype'),
src: url('./sdoc-editor-font/iconfont.eot?t=1759051235368#iefix') format('embedded-opentype'),
/* IE6-IE8 */
url('./sdoc-editor-font/iconfont.woff2?t=1755584900550') format('woff2'),
url('./sdoc-editor-font/iconfont.woff?t=1755584900550') format('woff'),
url('./sdoc-editor-font/iconfont.ttf?t=1755584900550') format('truetype'),
url('./sdoc-editor-font/iconfont.svg?t=1755584900550#sdocfont') format('svg');
url('./sdoc-editor-font/iconfont.woff2?t=1759051235368') format('woff2'),
url('./sdoc-editor-font/iconfont.woff?t=1759051235368') format('woff'),
url('./sdoc-editor-font/iconfont.ttf?t=1759051235368') format('truetype'),
url('./sdoc-editor-font/iconfont.svg?t=1759051235368#sdocfont') format('svg');
}
.sdocfont {
@@ -19,10 +19,14 @@
-moz-osx-font-smoothing: grayscale;
}
.eye:before {
.sdoc-eye:before {
content: "\e68f";
}
.sdoc-tree-view:before {
content: "\e690";
}
.sdoc-right-slide:before {
content: "\e68e";
}

View File

@@ -1,11 +1,11 @@
@font-face {
font-family: "sdocfont"; /* Project id 4097705 */
src: url('iconfont.eot?t=1755584900550'); /* IE9 */
src: url('iconfont.eot?t=1755584900550#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('iconfont.woff2?t=1755584900550') format('woff2'),
url('iconfont.woff?t=1755584900550') format('woff'),
url('iconfont.ttf?t=1755584900550') format('truetype'),
url('iconfont.svg?t=1755584900550#sdocfont') format('svg');
src: url('iconfont.eot?t=1759051235368'); /* IE9 */
src: url('iconfont.eot?t=1759051235368#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('iconfont.woff2?t=1759051235368') format('woff2'),
url('iconfont.woff?t=1759051235368') format('woff'),
url('iconfont.ttf?t=1759051235368') format('truetype'),
url('iconfont.svg?t=1759051235368#sdocfont') format('svg');
}
.sdocfont {
@@ -16,10 +16,14 @@
-moz-osx-font-smoothing: grayscale;
}
.eye:before {
.sdoc-eye:before {
content: "\e68f";
}
.sdoc-tree-view:before {
content: "\e690";
}
.sdoc-right-slide:before {
content: "\e68e";
}

View File

@@ -14,7 +14,9 @@
/>
<missing-glyph />
<glyph glyph-name="eye" unicode="&#59023;" d="M512 697.6c-112 0-204.8-51.2-275.2-121.6-64-67.2-112-140.8-137.6-195.2 22.4-54.4 67.2-131.2 137.6-195.2C310.4 118.4 403.2 64 512 64s204.8 51.2 275.2 121.6c64 67.2 112 140.8 137.6 195.2-22.4 54.4-67.2 131.2-137.6 195.2-70.4 67.2-163.2 121.6-275.2 121.6zM169.6 649.6C252.8 729.6 368 800 512 800s259.2-70.4 342.4-150.4 140.8-176 163.2-243.2c6.4-12.8 6.4-32 0-44.8-28.8-67.2-83.2-163.2-163.2-243.2C771.2 38.4 656-32 512-32s-259.2 70.4-342.4 150.4S28.8 294.4 6.4 361.6c-6.4 12.8-6.4 32 0 44.8 22.4 67.2 76.8 166.4 163.2 243.2z m342.4-416c80 0 144 67.2 144 150.4s-64 150.4-144 150.4h-3.2c3.2-9.6 3.2-22.4 3.2-32 0-67.2-51.2-118.4-112-118.4-9.6 0-19.2 0-28.8 3.2v-3.2c-3.2-83.2 60.8-150.4 140.8-150.4z m0 390.4c128 0 230.4-108.8 230.4-240S640 144 512 144 281.6 252.8 281.6 384 384 624 512 624z" horiz-adv-x="1024" />
<glyph glyph-name="sdoc-eye" unicode="&#59023;" d="M512 697.6c-112 0-204.8-51.2-275.2-121.6-64-67.2-112-140.8-137.6-195.2 22.4-54.4 67.2-131.2 137.6-195.2C310.4 118.4 403.2 64 512 64s204.8 51.2 275.2 121.6c64 67.2 112 140.8 137.6 195.2C902.4 435.2 857.6 512 787.2 576 716.8 643.2 624 697.6 512 697.6z m-342.4-48C252.8 729.6 368 800 512 800s259.2-70.4 342.4-150.4 140.8-176 163.2-243.2c6.4-12.8 6.4-32 0-44.8-28.8-67.2-83.2-163.2-163.2-243.2C771.2 38.4 656-32 512-32s-259.2 70.4-342.4 150.4S28.8 294.4 6.4 361.6c-6.4 12.8-6.4 32 0 44.8 22.4 67.2 76.8 166.4 163.2 243.2z m342.4-416c80 0 144 67.2 144 150.4s-64 150.4-144 150.4h-3.2c3.2-9.6 3.2-22.4 3.2-32 0-67.2-51.2-118.4-112-118.4-9.6 0-19.2 0-28.8 3.2v-3.2C368 300.8 432 233.6 512 233.6z m0 390.4c128 0 230.4-108.8 230.4-240S640 144 512 144 281.6 252.8 281.6 384 384 624 512 624z" horiz-adv-x="1024" />
<glyph glyph-name="sdoc-tree-view" unicode="&#59024;" d="M416 864c19.2 0 32-12.8 32-32v-224c0-19.2-12.8-32-32-32H64c-19.2 0-32 12.8-32 32V832c0 19.2 12.8 32 32 32h352z m-64-96H128v-96h224V768zM288 608v-512h288v-96H224c-19.2 0-32 12.8-32 32V608h96zM960 544c19.2 0 32-12.8 32-32v-224c0-19.2-12.8-32-32-32H608c-19.2 0-32 12.8-32 32v224c0 19.2 12.8 32 32 32h352z m-64-96h-224v-96h224v96zM960 192c19.2 0 32-12.8 32-32v-224c0-19.2-12.8-32-32-32H608c-19.2 0-32 12.8-32 32v224c0 19.2 12.8 32 32 32h352z m-64-96h-224v-96h224v96zM288 448h288v-96H288z" horiz-adv-x="1024" />
<glyph glyph-name="sdoc-right-slide" unicode="&#59022;" d="M672 416l-268.8 214.4c-32 25.6-83.2 6.4-83.2-32v-428.8c0-35.2 48-57.6 83.2-32L672 352c19.2 16 19.2 48 0 64z" horiz-adv-x="1024" />

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB