mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
plugins new scheme
This commit is contained in:
@ -29,447 +29,13 @@
|
||||
"plugins": {
|
||||
"url": "../../../../sdkjs-plugins/",
|
||||
"pluginsData": [
|
||||
|
||||
{
|
||||
"name" : "hello world",
|
||||
"guid" : "asc.{0616AE85-5DBE-4B6B-A0A9-455C4F1503AD}",
|
||||
"baseUrl" : "",
|
||||
"variations" : [
|
||||
{
|
||||
"description" : "hello world",
|
||||
"url" : "helloworld/index.html",
|
||||
"icons" : ["helloworld/icon.png", "helloworld/icon@2x.png"],
|
||||
"isViewer" : false,
|
||||
"EditorsSupport" : ["word"],
|
||||
"isVisual" : false,
|
||||
"isModal" : true,
|
||||
"isInsideMode" : false,
|
||||
"initDataType" : "none",
|
||||
"initData" : "",
|
||||
"isUpdateOleOnResize" : true,
|
||||
"buttons" : []
|
||||
},
|
||||
{
|
||||
"description" : "About",
|
||||
"url" : "helloworld/index_about.html",
|
||||
"icons" : ["helloworld/icon.png", "helloworld/icon@2x.png"],
|
||||
"isViewer" : false,
|
||||
"EditorsSupport" : ["word"],
|
||||
"isVisual" : true,
|
||||
"isModal" : true,
|
||||
"isInsideMode" : false,
|
||||
"initDataType" : "none",
|
||||
"initData" : "",
|
||||
"isUpdateOleOnResize" : true,
|
||||
"buttons" : [
|
||||
{
|
||||
"text": "Ok",
|
||||
"primary": true
|
||||
}
|
||||
],
|
||||
|
||||
"size" : [392, 147]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name": "chess (fen)",
|
||||
"guid": "asc.{FFE1F462-1EA2-4391-990D-4CC84940B754}",
|
||||
"variations": [
|
||||
{
|
||||
"description": "chess",
|
||||
"url": "chess/index.html",
|
||||
"icons": [
|
||||
"chess/icon.png",
|
||||
"chess/icon@2x.png"
|
||||
],
|
||||
"isViewer": true,
|
||||
"EditorsSupport": [
|
||||
"word",
|
||||
"cell",
|
||||
"slide"
|
||||
],
|
||||
"isVisual": true,
|
||||
"isModal": true,
|
||||
"isInsideMode": false,
|
||||
"initDataType": "ole",
|
||||
"initData": "",
|
||||
"isUpdateOleOnResize": true,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Ok",
|
||||
"primary": true
|
||||
},
|
||||
{
|
||||
"text": "Cancel",
|
||||
"primary": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "About",
|
||||
"url": "chess/index_about.html",
|
||||
"icons": [
|
||||
"chess/icon.png",
|
||||
"chess/icon@2x.png"
|
||||
],
|
||||
"isViewer": true,
|
||||
"EditorsSupport": [
|
||||
"word",
|
||||
"cell",
|
||||
"slide"
|
||||
],
|
||||
"isVisual": true,
|
||||
"isModal": true,
|
||||
"isInsideMode": false,
|
||||
"initDataType": "none",
|
||||
"initData": "",
|
||||
"isUpdateOleOnResize": false,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Ok",
|
||||
"primary": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "glavred",
|
||||
"guid": "asc.{B631E142-E40B-4B4C-90B9-2D00222A286E}",
|
||||
"variations": [
|
||||
{
|
||||
"description": "glavred",
|
||||
"url": "glavred/index.html",
|
||||
"icons": [
|
||||
"glavred/icon.png",
|
||||
"glavred/icon@2x.png"
|
||||
],
|
||||
"isViewer": true,
|
||||
"EditorsSupport": [
|
||||
],
|
||||
"isVisual": true,
|
||||
"isModal": true,
|
||||
"isInsideMode": false,
|
||||
"initDataType": "text",
|
||||
"initData": "",
|
||||
"isUpdateOleOnResize": false,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Ok",
|
||||
"primary": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "bold",
|
||||
"guid": "asc.{14E46CC2-5E56-429C-9D55-1032B596D928}",
|
||||
"variations": [
|
||||
{
|
||||
"description": "bold",
|
||||
"url": "bold/index.html",
|
||||
"icons": [
|
||||
"bold/icon.png",
|
||||
"bold/icon@2x.png"
|
||||
],
|
||||
"isViewer": false,
|
||||
"EditorsSupport": [
|
||||
],
|
||||
"isVisual": false,
|
||||
"isModal": false,
|
||||
"isInsideMode": false,
|
||||
"initDataType": "none",
|
||||
"initData": "",
|
||||
"isUpdateOleOnResize": false,
|
||||
"buttons": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "speech",
|
||||
"guid": "asc.{D71C2EF0-F15B-47C7-80E9-86D671F9C595}",
|
||||
"variations": [
|
||||
{
|
||||
"description": "speech",
|
||||
"url": "speech/index.html",
|
||||
"icons": [
|
||||
"speech/icon.png",
|
||||
"speech/icon@2x.png"
|
||||
],
|
||||
"isViewer": true,
|
||||
"EditorsSupport": [
|
||||
"word"
|
||||
],
|
||||
"isVisual": false,
|
||||
"isModal": false,
|
||||
"isInsideMode": false,
|
||||
"initDataType": "text",
|
||||
"initData": "",
|
||||
"isUpdateOleOnResize": false,
|
||||
"buttons": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "youtube",
|
||||
"guid": "asc.{38E022EA-AD92-45FC-B22B-49DF39746DB4}",
|
||||
"variations": [
|
||||
{
|
||||
"description": "youtube",
|
||||
"url": "youtube/index.html",
|
||||
"icons": [
|
||||
"youtube/icon.png",
|
||||
"youtube/icon@2x.png"
|
||||
],
|
||||
"isViewer": true,
|
||||
"EditorsSupport": [
|
||||
"word",
|
||||
"cell",
|
||||
"slide"
|
||||
],
|
||||
"isVisual": true,
|
||||
"isModal": true,
|
||||
"isInsideMode": false,
|
||||
"initDataType": "ole",
|
||||
"initData": "",
|
||||
"isUpdateOleOnResize": false,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Ok",
|
||||
"primary": true
|
||||
},
|
||||
{
|
||||
"text": "Cancel",
|
||||
"primary": false
|
||||
}
|
||||
],
|
||||
|
||||
"size" : [350, 90],
|
||||
"maximumSize" : [],
|
||||
"minimumSize" : []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "cbr",
|
||||
"guid": "asc.{5F9D4EB4-AF61-46EF-AE25-46C96E75E1DD}",
|
||||
"variations": [
|
||||
{
|
||||
"description": "cbr",
|
||||
"url": "cbr/index.html",
|
||||
"icons": [
|
||||
"cbr/icon.png",
|
||||
"cbr/icon@2x.png"
|
||||
],
|
||||
"isViewer": false,
|
||||
"EditorsSupport": [
|
||||
"cell"
|
||||
],
|
||||
"isVisual": false,
|
||||
"isModal": false,
|
||||
"isInsideMode": false,
|
||||
"initDataType": "none",
|
||||
"initData": "",
|
||||
"isUpdateOleOnResize": false,
|
||||
"buttons": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "OCR",
|
||||
"guid" : "asc.{440EBF13-9B19-4BD8-8621-05200E58140B}",
|
||||
"baseUrl" : "",
|
||||
|
||||
"variations" : [
|
||||
{
|
||||
"description" : "ocr",
|
||||
"url" : "ocr/index.html",
|
||||
|
||||
"icons" : ["ocr/icon.png", "ocr/icon@2x.png"],
|
||||
"isViewer" : false,
|
||||
"EditorsSupport" : ["word"],
|
||||
|
||||
"isVisual" : true,
|
||||
"isModal" : true,
|
||||
"isInsideMode" : false,
|
||||
|
||||
"initDataType" : "none",
|
||||
"initData" : "",
|
||||
|
||||
"isUpdateOleOnResize" : false,
|
||||
|
||||
"buttons" : [ { "text": "Insert Text", "primary": true},
|
||||
{ "text": "Cancel", "primary": false } ],
|
||||
|
||||
"size" : [592, 100]
|
||||
},
|
||||
{
|
||||
"description" : "About",
|
||||
"url" : "ocr/index_about.html",
|
||||
|
||||
"icons" : ["ocr/icon.png", "ocr/icon@2x.png"],
|
||||
"isViewer" : false,
|
||||
"EditorsSupport" : ["word"],
|
||||
|
||||
"isVisual" : true,
|
||||
"isModal" : true,
|
||||
"isInsideMode" : false,
|
||||
|
||||
"initDataType" : "none",
|
||||
"initData" : "",
|
||||
|
||||
"isUpdateOleOnResize" : false,
|
||||
|
||||
"buttons" : [
|
||||
{
|
||||
"text": "Ok",
|
||||
"primary": true
|
||||
}
|
||||
],
|
||||
|
||||
"size" : [392, 147]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Yandex Translate to Russian",
|
||||
"guid": "asc.{D3E759F7-3947-4BD6-B066-E184BBEDC675}",
|
||||
"variations": [
|
||||
{
|
||||
"description": "yandextranslaterus",
|
||||
"url": "yandextranslaterus/index.html",
|
||||
"icons": [
|
||||
"yandextranslaterus/icon.png",
|
||||
"yandextranslaterus/icon@2x.png"
|
||||
],
|
||||
"isViewer": false,
|
||||
"EditorsSupport": [
|
||||
],
|
||||
"isVisual": false,
|
||||
"isModal": false,
|
||||
"isInsideMode": false,
|
||||
"initDataType": "text",
|
||||
"initData": "",
|
||||
"isUpdateOleOnResize": false,
|
||||
"buttons": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ClipArt",
|
||||
"guid": "asc.{F5BACB61-64C5-4711-AC8A-D01EC3B2B6F1}",
|
||||
"variations": [
|
||||
{
|
||||
"description": "ClipArt",
|
||||
"url": "clipart/index.html",
|
||||
"icons": [
|
||||
"clipart/icon.png",
|
||||
"clipart/icon@2x.png"
|
||||
],
|
||||
"isViewer": true,
|
||||
"EditorsSupport": [
|
||||
"word",
|
||||
"slide",
|
||||
"cell"
|
||||
],
|
||||
"isVisual": true,
|
||||
"isModal": false,
|
||||
"isInsideMode": true,
|
||||
"initDataType": "none",
|
||||
"initData": "",
|
||||
"isUpdateOleOnResize": false,
|
||||
"buttons": [
|
||||
{
|
||||
"text": "Ok",
|
||||
"primary": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description" : "About",
|
||||
"url" : "clipart/index_about.html",
|
||||
|
||||
"icons" : ["clipart/icon.png", "clipart/icon@2x.png"],
|
||||
"isViewer" : false,
|
||||
"EditorsSupport" : ["word", "slide", "cell"],
|
||||
|
||||
"isVisual" : true,
|
||||
"isModal" : true,
|
||||
"isInsideMode" : false,
|
||||
|
||||
"initDataType" : "none",
|
||||
"initData" : "",
|
||||
|
||||
"isUpdateOleOnResize" : false,
|
||||
|
||||
"buttons" : [
|
||||
{
|
||||
"text": "Ok",
|
||||
"primary": true
|
||||
}
|
||||
],
|
||||
|
||||
"size" : [392, 147]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "Yandex Translate",
|
||||
"guid" : "asc.{7327FC95-16DA-41D9-9AF2-0E7F449F687D}",
|
||||
|
||||
"variations" : [
|
||||
{
|
||||
"description" : "translate",
|
||||
"url" : "translate/index.html",
|
||||
|
||||
"icons" : ["translate/icon.png", "translate/icon@2x.png"],
|
||||
"isViewer" : true,
|
||||
"EditorsSupport" : [],
|
||||
|
||||
"isVisual" : true,
|
||||
"isModal" : false,
|
||||
"isInsideMode" : true,
|
||||
|
||||
"initDataType" : "text",
|
||||
"initData" : "",
|
||||
|
||||
"isUpdateOleOnResize" : false,
|
||||
|
||||
"buttons" : [],
|
||||
|
||||
"initOnSelectionChanged" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "Document Templates",
|
||||
"guid" : "asc.{94DF0B57-299D-4F68-AF6F-9A6BB53F3031}",
|
||||
|
||||
"variations" : [
|
||||
{
|
||||
"description" : "templates",
|
||||
"url" : "templates/index.html",
|
||||
|
||||
"icons" : ["templates/icon.png", "templates/icon@2x.png"],
|
||||
"isViewer" : true,
|
||||
"EditorsSupport" : [],
|
||||
|
||||
"isVisual" : true,
|
||||
"isModal" : false,
|
||||
"isInsideMode" : true,
|
||||
|
||||
"initDataType" : "none",
|
||||
"initData" : "",
|
||||
|
||||
"isUpdateOleOnResize" : false,
|
||||
|
||||
"buttons" : [ ]
|
||||
}
|
||||
]
|
||||
}
|
||||
"helloworld/config.json",
|
||||
"chess/config.json",
|
||||
"speech/config.json",
|
||||
"youtube/config.json",
|
||||
"cbr/config.json",
|
||||
"ocr/config.json",
|
||||
"clipart/config.json"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user