How to add a custom toolbar?
The Custom Toolbar extensibility allows you to add additional toolbar on top of the authoring canvas to accomodate additional buttons.
To add Custom Toolbar extensibility to Quark Author:
- Create a folder feature in the directory qaservice/ext in the s3 bucket.
- Create a folder toolbar in the folder feature.
- Add the Custom Toolbar plugin to the folder toolbar.
The name of the folder toolbar must be the same as you have specified in the file qa-config.json under the property “extensions.”
Sample qa-config.json (available for every content type)
"extensions": [
"toolbar"
]
The folder toolbar also must contain the file “manifest.json” with the key “modules” with “type” defined as “qa-extensible-toolbar” along with the related data.
Sample manifest.json
{
"version": "0.0.1",
"modules": [
{
"type": "qa-extensible-toolbar",
"name": "toolbar",
"frameUrl": "toolbar.html",
"toolbarHeight": 50
}
]
}