iframe tag embedded in the ketcher how to hide some buttons #1219
-
how can i do it,thanks |
Beta Was this translation helpful? Give feedback.
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.
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