Search & Replace Text in Blocks

Mô tả

Search & Replace Text in Blocks adds a powerful search and replace functionality to the WordPress block editor (Gutenberg). Quickly find and replace text across all your content blocks without leaving the editor.

Features:

  • Search text across all text-based blocks (paragraphs, headings, lists, quotes, etc.)
  • Replace single occurrences or all matches at once
  • Built-in Undo button to revert changes
  • Case-sensitive search option
  • Whole word matching option
  • Visual highlighting of found blocks and text
  • Navigate between matches with Previous/Next buttons
  • Toolbar icon in the editor header for quick access
  • Also accessible from the editor’s three-dot menu
  • Keyboard shortcut: Ctrl+Shift+H (Cmd+Shift+H on Mac)
  • Draggable floating panel
  • Auto-focus on search field when opening the panel
  • Accessible and screen reader friendly

Supported Blocks:

  • Paragraph
  • Heading
  • List Item
  • Quote
  • Pullquote
  • Verse
  • Preformatted
  • Code
  • Table cells
  • And any block with text content

How to Use:

  1. Open any post or page in the block editor
  2. Click the search icon in the top toolbar, press Ctrl+Shift+H (Cmd+Shift+H on Mac), or select “Search & Replace” from the editor’s three-dot menu
  3. Enter your search term and click “Find”
  4. Navigate between matches using the arrow buttons
  5. Enter replacement text and click “Replace” or “Replace All”
  6. Use the “Undo” button to revert changes if needed

Support

Need private support or custom development?

Do you need one-on-one help, priority troubleshooting, or a custom feature, integration, or tweak built specifically for your site? I offer private support and custom development. Just contact me and tell me what you need.

Need help or have suggestions?

Love the plugin? Please leave us a 5-star review and help spread the word!

About AyudaWP

We are specialists in WordPress security, SEO, and performance optimization plugins. We create tools that solve real problems for WordPress site owners while maintaining the highest coding standards and accessibility requirements.

Ảnh màn hình

Cài đặt

  1. Upload the plugin files to /wp-content/plugins/search-replace-text-blocks/ or install through the WordPress plugins screen
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Open any post or page in the block editor and click the search icon in the toolbar to start

Hỏi đáp

How do I open the Search & Replace panel?

There are three ways to open it:

  1. Click the search icon (magnifying glass) in the editor’s top toolbar
  2. Press Ctrl+Shift+H (Cmd+Shift+H on Mac)
  3. Click “Search & Replace” in the editor’s three-dot menu (⋮) at the top right

Can I undo replacements?

Yes, use the built-in “Undo” button in the panel to revert all changes made during the current session.

Does it work with custom blocks?

The plugin works with any block that stores text in standard attributes (content, text, value, citation, caption).

Why doesn’t it find text in some blocks?

Some blocks store content differently or use nested structures. The plugin supports most common text blocks. If you find a block type that should be supported, please let us know.

Đánh giá

26 Tháng 12, 2025 1 trả lời
A veces, hay pequeñas funcionalidades que echo de menos en WordPress pero, por suerte, otras veces encuentro plugins maravillosos como este. ¿Alguna vez has querido hacer lo típico de buscar y reemplazar texto? Pues con WordPress no podías hasta ahora. Con este plugin liviano tienes una lupa arriba a la derecha que hace está función como si estuvieras en cualquier editor de textos.¡Una genial! Simple pero genial.
26 Tháng 12, 2025 1 trả lời
This plugin provides a simple but much-needed feature, and it does exactly what it promises, saving a lot of time when editing content, without unnecessary complexity. Sometimes basic functionality like this is surprisingly hard to find, so it’s great to have it available in such a straightforward way. Very useful and appreciated!
24 Tháng 12, 2025 1 trả lời
Thank you for this wonderful tool.I think it should have been included in WordPress a long time ago.
Đọc tất cả 6 đánh giá

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

“Search & Replace Text in Blocks” 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

“Search & Replace Text in Blocks” đã được dịch qua 2 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Search & Replace Text in Blocks” sang ngôn ngữ của bạn.

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

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.1.1

Tested up to WordPress 7.0

1.1.0

  • Added auto-focus on search field when opening the panel
  • Improved usability: cursor is now ready to type immediately after opening

1.0.0

  • Initial release
  • Search across all text blocks
  • Replace single or all occurrences
  • Built-in Undo button
  • Case-sensitive and whole word options
  • Visual highlighting of matches
  • Toolbar icon for quick access
  • Three-dot menu integration
  • Keyboard shortcut support (Ctrl+Shift+H / Cmd+Shift+H)
  • Draggable floating panel