The SDK offers a range of options to customize the functionality and appearance of the editor. Use these options inside your JWT to set them up.
{
...
"editor_options": [
...
],
// override any editor_options for specific templates
"template_options": [
{
"uuid": "{UUID_TEMPLATE_VERSION}",
...
}
],
...
}
Option | Description |
---|---|
enableCanvasResizing |
Enables the settings for resizing the template canvas; defaults to true |
enableCanvasTransparency |
Enables the setting for changing the canvas transparency; defaults to true |
enableTemplateRenaming |
Enables the setting for renaming the template; defaults to true |
enableButtonSave |
Shows a Save Button; defaults to true |
enableButtonSaveAndClose |
Shows a Save&Close Button (you might want to set enableButtonSave to false when using this option); defaults to false |
layersHardlocked |
Supply a list of layers that the user should not be able to select, modify, rename and delete; defaults to [] |
layersSoftlocked |
Supply a list of layers that the user should be able to modify, but not rename or delete; defaults to [] |