iframe tag embedded in the ketcher how to hide some buttons #1219
Answered
by
AndreiMazol
niuzhenjiang
asked this question in
Q&A
-
how can i do it,thanks |
Beta Was this translation helpful? Give feedback.
Answered by
AndreiMazol
Feb 2, 2022
Replies: 1 comment 1 reply
-
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, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
niuzhenjiang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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