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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user