Open cleblond opened 3 years ago
Hi @cleblond, you can use property editorProperties
of a viewer to customize properties of the composer opened from viewer, e.g.:
viewer.setEditorProperties({
'commonToolButtons': ['loadData', 'saveData'],
'chemToolButtons': ['manipulate', 'erase', 'bond', 'atom']
});
Awesome thanks much!
Is there a way to customize the toolbar of the composer that opens from a viewer? Maybe a setCommonToolButtons and setChemToolButtons for the editor of a viewer.