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

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

View File

@ -165,8 +165,8 @@ const getEditNewText = function getEditNewText(ext) {
return 'Presentation';
case 'pdf':
return 'PDF form';
case 'visio':
return 'Visio';
case 'diagram':
return 'Diagram';
default:
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");
}
.stored-edit.visio,
.uploadFileName.visio {
.stored-edit.diagram,
.uploadFileName.diagram {
background-image: url("../images/icon_vsdx.svg");
}