For example, I want to hide the “permalink” element from all users at once. How to do it?
Hi @felixult,
I don’t know that it’s possible as an administrator to disable certain sections of the editor on a per user-role basis, and not all at once.
However on a per-user basis you can _hide_ panels. Click the … more menu, then click Options, and you can hide elements:
Hope that helps!
@joen This Using this method, any user can hide the menu item only at home and he needs to do this manually. And I want to initially hide some menu item from everyone.
Yep, I hear you. I couldn’t immediately find a plug-in that lets you accomplish what you’re after, but I did find this ticket: https://github.com/WordPress/gutenberg/issues/20588
It seems to aim to provide the missing pieces. It also links to https://make.wordpress.org/core/2020/01/23/controlling-the-block-editor/ which comes with a few code examples. Maybe you can put together a small plug-in from those as a holdover?