Block Editor Roles
This plugin allows you to manage Gutenberg block permissions for specific user roles. Define which Gutenberg blocks can be added and control their editing capabilities. You can configure whether blocks are fully editable or limited to text-only changes.
Standard Features
*Define for each Gutenberg block separately whether it can be fully edited or whether only text changes should be allowed *Define for each Gutenberg block separately whether it can be added using the block inserter *Disable the Gutenberg list view *Disable the Gutenberg Block Inserter *Define for which user roles the settings should apply
Premium Features
*Allow blocks to be edited using the block toolbar to enable setting e.g. links or bold font *Add custom blocks which are not listed in the table of registered blocks *Allow only patterns to be added and define the pattern categories that user can add
How Gutenberg Premium can help web designers / web agencies
The Gutenberg editor can be difficult to understand and handle for clients who don't have a technical background. However often clients still need a way to adapt their pages, remove sections, do text changes etc. The "allow patterns only" feature provides a powerful way to create predefined templates and organize them into custom categories. This allows you to offer your clients an easy and intuitive way to add sections to their pages independently, without risking the overall layout. By using patterns, you can ensure consistency and simplify the editing process for non-technical users.
Source Code
The uncompiled source code for this plugin is included in the src/ directory. This includes all JavaScript files before compilation and the build configuration.
To build the plugin from source:
1. Install Node.js and npm
2. Navigate to the src/ directory
3. Run npm install to install dependencies
4. Run npm run build to compile the JavaScript files
The original source files can be found at:
– JavaScript source: src/js/block-editor-roles-admin.js
– Build configuration: src/webpack.config.js
– Dependencies: src/package.json