Title: Search and Replace for Block Editor
Author: badasswp
Published: <strong>19 Tháng 8, 2024</strong>
Last modified: 14 Tháng 8, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/search-replace-for-block-editor/assets/banner-772x250.png?rev
=3161794)

![](https://ps.w.org/search-replace-for-block-editor/assets/icon-256x256.png?rev
=3163515)

# Search and Replace for Block Editor

 Bởi [badasswp](https://profiles.wordpress.org/badasswp/)

[Tải về](https://downloads.wordpress.org/plugin/search-replace-for-block-editor.1.12.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/search-replace-for-block-editor/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/search-replace-for-block-editor/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/search-replace-for-block-editor/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/search-replace-for-block-editor/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/search-replace-for-block-editor/)

## Mô tả

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.

#### ✔️ Features

Our plugin comes with everything you need to find and replace text quicker and more
efficiently.

✔️ **Search & Replace** text, typos, keywords faster.
 ✔️ **Shortcut Keys** – CMD
+ F. ✔️ **Match Case** Sensitivity. ✔️ **Custom Hooks** to help you customize plugin
behaviour. ✔️ Available in **mutiple langauges** such as Arabic, Chinese, Hebrew,
Hindi, Russian, German, Italian, Croatian, Spanish & French languages. ✔️ **Backward
compatible**, works with most WP versions.

#### ✨ 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](https://tastewp.com/create/NMS/8.0/6.7.0/search-replace-for-block-editor/twentytwentythree?ni=true&origin=wp)
link.

#### ⚡ Shortcut Keys & Text Selection

To quickly access the Search and Replace modal, press **CTRL + F**. This will fire
up the dialog box where you can quickly change things.

You can also **select text** on your Block Editor and **use the Shortcut**. This
will grab the text you have selected and fire up your dialog box with the text already
typed into it. This makes working with the Search and Replace tool faster.

#### 🔌🎨 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](https://github.com/badasswp/search-replace-for-block-editor).
You can override the plugin’s behaviour with custom logic of your own using [hooks](https://github.com/badasswp/search-replace-for-block-editor?tab=readme-ov-file#hooks).

### Contribute

If you’d like to contribute to the development of this plugin, you can find it on
[GitHub](https://github.com/badasswp/search-replace-for-block-editor).

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

## Ảnh màn hình

[⌊Search & Replace for Block Editor icon - Locate the top left of the Block Editor.⌉⌊
Search & Replace for Block Editor icon - Locate the top left of the Block Editor
.⌉[

Search & Replace for Block Editor icon – Locate the top left of the Block Editor.

[⌊Search & Replace for Block Editor modal - Search and Replace text in the Block
Editor.⌉⌊Search & Replace for Block Editor modal - Search and Replace text in the
Block Editor.⌉[

Search & Replace for Block Editor modal – Search and Replace text in the Block Editor.

[⌊Match Case in Search & Replace - Now you can match the case of the text and Search
and Replace.⌉⌊Match Case in Search & Replace - Now you can match the case of the
text and Search and Replace.⌉[

Match Case in Search & Replace – Now you can match the case of the text and Search
and Replace.

[⌊Search & Replace icon in Toolbar - For a faster workflow you can use the toolbar
icon in the Toolbar.⌉⌊Search & Replace icon in Toolbar - For a faster workflow you
can use the toolbar icon in the Toolbar.⌉[

Search & Replace icon in Toolbar – For a faster workflow you can use the toolbar
icon in the Toolbar.

[⌊Search & Replace Toolbar icon in action - Make changes a lot quicker and get more
done in less time.⌉⌊Search & Replace Toolbar icon in action - Make changes a lot
quicker and get more done in less time.⌉[

Search & Replace Toolbar icon in action – Make changes a lot quicker and get more
done in less time.

[⌊Plugin Options page - Configure default settings for Search and Replace.⌉⌊Plugin
Options page - Configure default settings for Search and Replace.⌉[

Plugin Options page – Configure default settings for Search and Replace.

## Cài đặt

 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.

## Đánh giá

![](https://secure.gravatar.com/avatar/b74a61c88d2d1a6a426e013e6554cc5bb6601219436c863fdac241335b50afbb?
s=60&d=retro&r=g)

### 󠀁[Prevents search](https://wordpress.org/support/topic/prevents-search/)󠁿

 [tufty](https://profiles.wordpress.org/tufty/) 13 Tháng 9, 2026

Unfortunately this plugin steals the standard browser search shortcut, and doesn't
offer search only instead, so you can't easily just search for something, or observe
the context of what you are replacing. It doesn't make that clear, and suggests 
it provides functionality like Microsoft Word and Google Docs, which is far from
true. If it made this clear, and provided workarounds, such as a different shortcut
for search & replace, like Control-Shift-H, that would be better.

![](https://secure.gravatar.com/avatar/1c213219fb3881380058d07c6bb6aa7b98e09ed4cf099317db8e71d8999df84b?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-9681/)󠁿

 [Sjaak](https://profiles.wordpress.org/svweb/) 13 Tháng 9, 2025 3 trả lời

This plugin works great and saves a lot of time!

![](https://secure.gravatar.com/avatar/90169b41dd1b83abac0eff1909bffaa5fac133afa68a1b6df7c7146182b5e96e?
s=60&d=retro&r=g)

### 󠀁[Very handy tool](https://wordpress.org/support/topic/very-handy-tool-34/)󠁿

 [Nick](https://profiles.wordpress.org/d4d5bh6/) 27 Tháng 9, 2024 1 trả lời

Very useful, thanks!

 [ Đọc tất cả 4 đánh giá ](https://wordpress.org/support/plugin/search-replace-for-block-editor/reviews/)

## Người đóng góp & Lập trình viên

“Search and Replace for Block Editor” là mã nguồn mở. Những người sau đã đóng góp
vào plugin này.

Những người đóng góp

 *   [ badasswp ](https://profiles.wordpress.org/badasswp/)
 *   [ Anand Raaj ](https://profiles.wordpress.org/rajanand346/)
 *   [ jargovi ](https://profiles.wordpress.org/jargovi/)
 *   [ activist507 ](https://profiles.wordpress.org/activist507/)
 *   [ Milen Petrinski – Gonzo ](https://profiles.wordpress.org/gonzomir/)

“Search and Replace for Block Editor” đã được dịch qua 2 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/search-replace-for-block-editor/contributors)
vì đóng góp của họ.

[Dịch “Search and Replace for Block Editor” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/search-replace-for-block-editor)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/search-replace-for-block-editor/),
check out [SVN repository](https://plugins.svn.wordpress.org/search-replace-for-block-editor/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/search-replace-for-block-editor/)
qua [RSS](https://plugins.trac.wordpress.org/log/search-replace-for-block-editor/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.12.0

 * Fix: Enqueuing editor scripts when loaded as `mu-plugin`.
 * Test: Fix failing Unit tests.
 * Tested up to WP 7.0.

#### 1.11.0

 * Feat: Add `More Plugins` options page.

#### 1.10.3

 * Tested up to WP 7.0.

#### 1.10.2

 * Chore: Update CI/CD pipeline.

#### 1.10.1

 * Docs: Update doc blocks.

#### 1.10.0

 * Feat: Added translation languages for `Japanese`,`Indonesian`, `Turkish`, `Polish`,`
   Dutch`, `Brazil` and `Portuguese`.
 * Feat: Add toggle for Regex expression matching.
 * Feat: Add Plugin options page.
 * Feat: Add Shortcut command (CMD + F).
 * Feat: Add custom hooks: `afterSearchReplace`, `excludedPostTypes`, `regexPattern`.
 * Fix: Make default search literal & regex opt-in.
 * Refactor: Use `replaceInput` in place of repeated instances of `text`.
 * Test: Add e2e tests for plugin codebase.
 * Tested up to WP 6.9.

#### 1.9.0

 * Feat: Use Composer setup for plugin.
 * Tested up to WP 6.9.

#### 1.8.0

 * Feat: Add Search & Replace feature for table head, foot & caption.
 * Fix: Reset `Replace` input field.
 * Tested up to WP 6.8.

#### 1.7.0

 * Fix: Issue with rich content replacement (HTML bearing string).
 * Feat: On Modal open, show items found for Highlighted text.
 * Fix: Console warnings & errors.
 * Tested up to WP 6.8.

#### 1.6.0

 * Feat: Add search and replace functionality for **Table Block**.
 * Feat: Add new custom hook `search-replace-for-block-editor.handleAttributeReplacement`.
 * Docs: Update README docs.
 * Tested up to WP 6.8.

#### 1.5.0

 * Fix: Missing icon due to recent WP 6.8 upgrade.
 * Feat: Add local WP dev env.
 * Chore: Update Plugin contributors list.
 * Update README docs.
 * Tested up to WP 6.7.2.

#### 1.4.0

 * Feat: Add search icon to Toolbar.
 * Feat: Add new custom hook `search-replace-for-block-editor.replaceBlockAttribute`.
 * Chore: Enforce WP linting across plugin.
 * Test: Improve unit tests cases.
 * Refactor: Search & Replace core logic to use `replaceBlockAttribute` hook.
 * Tested up to WP 6.7.2.

#### 1.3.0

 * Feat: Add Search count feature.
 * Tested up to WP 6.7.2.

#### 1.2.3

 * Fix: Crashing Gutenberg Block Editor on Toggle Block Inserter.
 * Tested up to WP 6.7.2.

#### 1.2.2

 * Fix style issues for WP 6.6.2.
 * Fix timeout issues causing Icon not to load.
 * Fix backward compatibility issues due to WP upgrade.
 * Apply coding standards.
 * Update README notes.
 * Tested up to WP 6.7.1.

#### 1.2.1

 * Fix in modal selection issue.
 * Fix missing tooltip component.
 * Fix block editor selection issue due to iframe.
 * Update README notes.
 * Tested up to WP 6.7.1.

#### 1.2.0

 * Fix WP upgrade 6.7 issues.
 * Add text selection shortcut functionality.
 * Update README notes.
 * Tested up to WP 6.7.0.

#### 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.

## Meta

 *  Phiên bản **1.12.0**
 *  Cập nhật lần cuối **3 tháng trước**
 *  Số lượt cài đặt **500+**
 *  Phiên bản WordPress ** 6.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0.8**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/search-replace-for-block-editor/),
   [Croatian](https://hr.wordpress.org/plugins/search-replace-for-block-editor/),
   và [English (US)](https://wordpress.org/plugins/search-replace-for-block-editor/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/search-replace-for-block-editor)
 * Thẻ
 * [block](https://vi.wordpress.org/plugins/tags/block/)[editor](https://vi.wordpress.org/plugins/tags/editor/)
   [replace](https://vi.wordpress.org/plugins/tags/replace/)[search](https://vi.wordpress.org/plugins/tags/search/)
   [text](https://vi.wordpress.org/plugins/tags/text/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/search-replace-for-block-editor/advanced/)

## Đánh giá

 4 trên 5 sao.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/search-replace-for-block-editor/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/search-replace-for-block-editor/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/search-replace-for-block-editor/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/search-replace-for-block-editor/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/search-replace-for-block-editor/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/search-replace-for-block-editor/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/search-replace-for-block-editor/reviews/)

## Những người đóng góp

 *   [ badasswp ](https://profiles.wordpress.org/badasswp/)
 *   [ Anand Raaj ](https://profiles.wordpress.org/rajanand346/)
 *   [ jargovi ](https://profiles.wordpress.org/jargovi/)
 *   [ activist507 ](https://profiles.wordpress.org/activist507/)
 *   [ Milen Petrinski – Gonzo ](https://profiles.wordpress.org/gonzomir/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/search-replace-for-block-editor/)