Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
600
Is it possible to hide individual buttons in text/formatting toolbars?
posted

Is it possible to hide individual buttons in text/formatting toolbars?

It looks like a workaround might be to create a custom toolbar which recreates the desired set of buttons by using executeAction method.  Is there a better way of doing it though?

  • 24965
    Offline posted

    Hello Alistair,

    Thank you for contacting Infragistics!

    There isn’t a specific way with code to hide individual buttons. However you can use a jQuery selector to add a CSS class and with a style of display:none. To get the specific id of the button you will want to use the browser dev tools to select the element. For example for the formats list of the text toolbar the id is “htmlEditor_toolbars_textToolbar_item_formatsList”.