doc fixes

This commit is contained in:
Denys Vuika
2018-08-21 15:28:26 +01:00
parent 41d1d49412
commit 129f2c5570

View File

@@ -651,7 +651,8 @@ All the customisations are stored in the `features` section of the configuration
"contextMenu": [], "contextMenu": [],
"viewer": { "viewer": {
"toolbar:": [], "toolbar:": [],
"openWith": [] "openWith": [],
"content": []
}, },
"sidebar": [] "sidebar": []
} }
@@ -707,9 +708,9 @@ You can populate the menu with an extra entries like in the example below:
"features": { "features": {
"create": [ "create": [
{ {
"id": "app.create.folder", "id": "plugin1.create.folder",
"icon": "create_new_folder", "icon": "create_new_folder",
"title": "Create Folder", "title": "Create Folder (plugin1)",
"actions": { "actions": {
"click": "CREATE_FOLDER" "click": "CREATE_FOLDER"
}, },
@@ -718,9 +719,9 @@ You can populate the menu with an extra entries like in the example below:
} }
}, },
{ {
"id": "app.create.uploadFile", "id": "plugin1.create.uploadFile",
"icon": "file_upload", "icon": "file_upload",
"title": "Upload Files", "title": "Upload Files (plugin1)",
"actions": { "actions": {
"click": "UPLOAD_FILES" "click": "UPLOAD_FILES"
}, },
@@ -828,7 +829,7 @@ You can provide the following customisations for the Sidebar (aka Info Drawer) c
"$name": "plugin1", "$name": "plugin1",
"features": { "features": {
"sidebar": { "sidebar": [
{ {
"id": "app.sidebar.properties", "id": "app.sidebar.properties",
"order": 100, "order": 100,
@@ -841,7 +842,7 @@ You can provide the following customisations for the Sidebar (aka Info Drawer) c
"title": "Comments", "title": "Comments",
"component": "app.components.tabs.comments" "component": "app.components.tabs.comments"
} }
} ]
} }
} }
``` ```