Lock Reusable Blocks

ཞིབ་བརྗོད།

Lock Reusable Blocks in the editor to avoid unintentional global changes.
Editing reusable blocks in posts is locked, and you have access to two actions when you select a reusable block in the editor:
– Edit the reusable block (opens the block editing page in a new tab)
– Convert to regular blocks (native action)

Options are availables in Settings > Writing screen to hide Edit and Convert reusable blocks buttons in block overlay.

གཏུབ་རེིས།

  • Reusable Block locked in the editor.
  • Settings screen.

གདེང་འཇོག

2022 ལོའི་ཟླ 6 ཚེས 2 ཉིན།
This is the design that should the reusable blocks have out of the box!
2022 ལོའི་ཟླ 4 ཚེས 4 ཉིན།
All plugins should be like this. Simple one job plugins that do one thing well. I follow this philosophy in my own plugins and it is good to see others doing the same.
2022 ལོའི་ཟླ 3 ཚེས 23 ཉིན།
Even people who understand the concept of reusable blocks tend to unintentionally edit such blocks from time to time (changing it for the whole website instead of a single instance). This plug-in protects reusable blocks in simple, elegant way – and you can still edit them if this is really your intension. Should be integrated into WP core.
གདེང་འཇོག 3 ཡོངས་སུ་ཀློག

བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

“Lock Reusable Blocks” is open source software. The following people have contributed to this plugin.

བྱས་རྗེས་འཇོག་མཁན།

“Lock Reusable Blocks” has been translated into 9 locales. Thank you to the translators for their contributions.

ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “Lock Reusable Blocks” ཡིག་སྒྱུར་བྱོས།

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

དག་བཅོས་ཉིན་ཐོ།

0.6.0

  • Fix PHP Parse error in add_settings_field functions on PHP 7.2

0.5.0

  • Fix hide Edit/Convert buttons settings are inverted

0.4.0

  • Add options in Settings > Writing screen to allow admin disable Edit and Convert reusable blocks buttons in block overlay.
    Props to @btxtiger for the idea.

0.3.0

  • Convert to regular blocks button: switch to primary style

0.2.0

  • Add button to convert reusable block to regular blocks

0.1.0

  • First release