nodejs: support diagram editor

This commit is contained in:
Sergey Linnik
2025-01-14 14:36:55 +03:00
parent eb31cabed5
commit 4ceb7ee5cd
6 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Change Log # Change Log
- nodejs: support vsdx in visio editor - nodejs: support vsdx in diagram editor
- nodejs: support pages, numbers, key formats - nodejs: support pages, numbers, key formats
- on uploading xml convert to supported type only - on uploading xml convert to supported type only
- converting function on index page - converting function on index page

View File

@ -78,7 +78,7 @@ fileUtility.fileType = {
cell: 'cell', cell: 'cell',
slide: 'slide', slide: 'slide',
pdf: 'pdf', pdf: 'pdf',
visio: 'visio', diagram: 'diagram',
}; };
fileUtility.getFormatActions = function getExtensionActions(ext) { fileUtility.getFormatActions = function getExtensionActions(ext) {

View File

@ -165,8 +165,8 @@ const getEditNewText = function getEditNewText(ext) {
return 'Presentation'; return 'Presentation';
case 'pdf': case 'pdf':
return 'PDF form'; return 'PDF form';
case 'visio': case 'diagram':
return 'Visio'; return 'Diagram';
default: default:
return ext.toUpperCase(); return ext.toUpperCase();
} }

View File

Before

Width:  |  Height:  |  Size: 169 KiB

After

Width:  |  Height:  |  Size: 169 KiB

View File

@ -647,8 +647,8 @@ footer table tr td:first-child {
background-image: url("../images/icon_pdf.svg"); background-image: url("../images/icon_pdf.svg");
} }
.stored-edit.visio, .stored-edit.diagram,
.uploadFileName.visio { .uploadFileName.diagram {
background-image: url("../images/icon_vsdx.svg"); background-image: url("../images/icon_vsdx.svg");
} }