Support » Plugin: Gutenberg » Remove column settings panel

  • Resolved Luke


    Similar to:'core/edit-post').removeEditorPanel('discussion-panel');

    Is there a name for the column settings panel? something like this:'core/column').removeEditorPanel('column-settings');

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ella van Durpe


    Hi @wpfed!

    Are you trying to remove all column settings in the sidebar? Or close the sidebar? Or what are you trying to do?

    hi @ellatrix thanks for replying,

    I was thinking of removing the column settings, so a end user can not make modifications to the width through the range control, I prefer to just create my own column layouts that the user can pick from:


    Plugin Author Ella van Durpe


    I see. That’s not possible through a JavaScript API right now.

    (If you really want to hide it, you could hide the section you want to remove with CSS. But I’m not officially recommending this. 😄 Maybe inserting something like .block-editor-block-inspector .components-panel__body { display: none; } with JavaScript only if a column block is selected.)

    Okay great, thanks for the help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove column settings panel’ is closed to new replies.