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

설치

  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin directly through the WordPress plugins screen.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to ‘Settings > Block Editor Roles’ to configure the plugin settings.

FAQ

What does this plugin do?

This plugin allows you to manage Gutenberg block permissions for specific user roles. You can define which blocks can be added and whether they can be fully edited or not. If they are not fully editable users can only do text changes to blocks.

Who is this plugin for?

This plugin is for anyone looking for a way to limit the adding and editing of specific blocks. This is particularly useful for web agencies who want to give their clients a way to edit their pages without breaking the layout of the page.

How does this plugin work?

This plugin uses a combination of JavaScript and CSS to disable blocks, hide elements, and restrict editing capabilities in the Gutenberg editor.

Can users with technical knowledge still edit or add blocks?

It is important to note that this plugin does not provide a bullet-proof way to prevent users from changing and adding blocks. Users with technical knowledge who modify the source code or CSS can bypass these restrictions and continue to edit or add blocks. This plugin is designed as a tool to simplify the Gutenberg editor for users, but it does not guarantee that users cannot edit or add blocks. Also Shortcuts like copy, add after, paste, etc. will continue to work.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Block Editor Roles”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Block Editor Roles”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0

  • Initial release.
  • Manage Gutenberg block permissions for specific user roles.
  • Define which blocks can be added.
  • Configure blocks to be fully editable or limited to text-only changes.
  • Completely disable the block inserter.
  • Disable the Gutenberg list view.