1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 02:48:51 +00:00

docx to sdoc

This commit is contained in:
lian
2024-01-22 12:13:31 +08:00
parent 75a26dd355
commit b6bb446194
3 changed files with 25 additions and 8 deletions

View File

@@ -608,7 +608,7 @@ export const Utils = {
}
if ((permission == 'rw' || permission == 'cloud-edit') && enableSeadoc) {
if (dirent.name.endsWith('.md')) {
if (dirent.name.endsWith('.md') || dirent.name.endsWith('.docx')) {
list.push(CONVERT_TO_SDOC);
}