Search and Replace for Block Editor
Search and Replace for Block Editor

Search and Replace for Block Editor

badasswp

This plugin brings the familiar Search and Replace functionality that PC users have grown accustomed to in Microsoft Word and Google Docs to the Block Editor.

Now you can easily search and replace text right in the Block Editor. Its easy and does exactly what it says. You can also match the text case using the ‘Match Case | Expression’ toggle.

✨ Getting Started

Create a new Post or open an existing Post. Locate the ‘Search and Replace’ icon at the top left corner of the Block Editor and click on it. Proceed to type in the text you wish to replace and click on ‘Replace’.

You can get a taste of how this works, by using the demo link.

🔌🎨 Plug and Play or Customize

The Search & Replace for Block Editor plugin is built to work right out of the box. Simply install, activate and start using.

Want to add your personal touch? All of our documentation can be found here. You can override the plugin’s behaviour with custom logic of your own using hooks.

Contribute

If you’d like to contribute to the development of this plugin, you can find it on GitHub.

To build, clone repo and run npm install && npm run build

Very handy tool

By Nick (d4d5bh6) on September 27, 2024

Very useful, thanks!

1.1.1

  • Update README notes.
  • Update asset icons & screenshots.
  • Tested up to WP 6.6.2.

1.1.0

  • Feat: Case Sensitive toggle.
  • Update asset images and screenshots.
  • Fix Bugs and Linting issues.
  • Update README.txt file.
  • Update Translation files.
  • Tested up to WP 6.6.2.

1.0.4

  • Update README.txt file.

1.0.3

  • Implement Build Workflow
  • Replace mt_rand with string for asset enqueuing.
  • Fix Bugs and Linting issues.
  • Tested up to WP 6.6.1.

1.0.2

  • Fix styling issues observed on search icon.
  • Implement case sensitivity feature for search and replace.
  • Add custom hook – search-replace-for-block-editor.caseSensitive.
  • Load assets via plugin directory URL.
  • Address bugs and linting issues.
  • Tested up to WP 6.6.1.

1.0.1

  • Handle edge cases with quote, pullquote & details block.
  • Add custom hook – search-replace-for-block-editor.keyboardShortcut.
  • Fix Bugs & linting issues.
  • Updated Unit Tests & README notes.
  • Tested up to WP 6.6.

1.0.0

  • Ability to Search & Replace text within the Block Editor.
  • Custom Hooks – search-replace-for-block-editor.allowedBlocks.
  • Provided support for Arabic, Chinese, Hebrew, Hindi, Russian, German, Italian, Croatian, Spanish & French languages.
  • Unit Tests coverage.
  • Tested up to WP 6.5.5.
  1. Go to ‘Plugins > Add New’ on your WordPress admin dashboard.
  2. Search for ‘Search and Replace for Block Editor’ plugin from the official WordPress plugin repository.
  3. Click ‘Install Now’ and then ‘Activate’.
  4. Create a new Post or Open an existing Post.
  5. You should now see the ‘Search and Replace’ icon at the top left.

Reviews

5 out of 5 stars

  • Version: 1.1.1
  • Last updated: 39 minutes ago
  • Active installations: 0
  • WordPress version: 4.0
  • Tested up to: 6.6.2
  • PHP version: 7.4