mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
nodejs: support diagram editor
This commit is contained in:
@ -78,7 +78,7 @@ fileUtility.fileType = {
|
||||
cell: 'cell',
|
||||
slide: 'slide',
|
||||
pdf: 'pdf',
|
||||
visio: 'visio',
|
||||
diagram: 'diagram',
|
||||
};
|
||||
|
||||
fileUtility.getFormatActions = function getExtensionActions(ext) {
|
||||
|
||||
@ -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();
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 169 KiB After Width: | Height: | Size: 169 KiB |
@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user