Skip to content

iframe tag embedded in the ketcher how to hide some buttons #1219

Answered by AndreiMazol
niuzhenjiang asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @niuzhenjiang ,

controls can be hidden in both modes (remote and standalone) by passing 'hiddenControls' query parameter, for example to hide 'open' and 'save' buttons it is necessary to pass the following values:

http://localhost:5000/?hiddenControls=open,clear

unfortunately this functionality is not documented so the list of all available options can be found in https://github.com/epam/ketcher/blob/master/packages/ketcher-react/src/script/ui/action/index.js (look at use of 'isHidden' function)

Regards,
Andrei

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bhans-uvic
Comment options

Answer selected by niuzhenjiang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants