Lock Reusable Blocks
Marie Comet By Marie Comet

June 28, 2022

Lock Reusable Blocks Plugin

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.

Screenshots

  1. Reusable Block locked in the editor.

    Reusable Block locked in the editor.

  2. Settings screen.

    Settings screen.

Changelog

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

Details

  • Version: 0.6.0
  • Active installations: 400
  • WordPress Version: 5.8
  • Tested up to: 6.0.9
  • PHP Version: 7.0

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars