
內容簡介
LiveDraft Search & Replace 是一款強大的 WordPress 外掛,專為 Gutenberg 編輯器設計,能快速搜尋和替換文本。使用者可以在側邊欄中即時找到、突出顯示並替換內容,提升編輯效率。
【主要功能】
• 即時高亮:輸入時即時顯示匹配結果,無延遲
• 批次操作:可針對單一匹配或全域替換
• 進階搜尋:支援正規表達式及大小寫匹配
• 性能優化:適合大型文件使用虛擬高亮
• 安全清潔:內容不會被臨時 HTML 標籤污染
• 撤銷/重做:與 WordPress 撤銷系統完全整合
外掛標籤
開發者團隊
原文外掛簡介
LiveDraft Search & Replace adds a powerful search and replace panel to the WordPress Block Editor (Gutenberg).
It allows you to quickly find, highlight, and replace text directly from the sidebar as soon as you open it.
Features
Live Highlighting: Instantly visualize matches as you type with zero lag.
Bulk Actions: Replace a single targeted match or perform a “Replace All” across all blocks seamlessly.
Advanced Search: Full support for Regular Expressions (Regex) and Case-Sensitive matching.
Performance First: Optimized for large documents using virtual highlighting.
Safe & Clean: Your content is never polluted with temporary HTML tags. Highlighting is virtual and database-safe.
Undo/Redo Ready: Fully integrated with the WordPress core Undo system. You can revert any replacement by clicking the editor’s Undo button, ensuring a safe and reliable editing experience.
Flexible Navigation: Seamlessly navigate and edit your content with precision as described below.
Flexible Navigation & Instant Replace
This tool provides a seamless way to navigate and edit your content with precision:
Precision Navigation (Keyboard & Buttons)
Effortlessly cycle through matches using the “Next” (Enter) and “Previous” (Shift + Enter) keys. You can also use the “Current” (◎) and UI buttons to jump directly to the selection in the editor.
Smart “Click-to-Select”
Click any highlighted match in the editor to instantly set it as your current position. This synchronizes the sidebar counter and focus without jumping the screen.
Instant “Double-Click” Replace
For a faster workflow, you can double-click any highlighted text directly within the editor to replace it instantly.
Auto-populate from Selection
Enable “Auto-populate from selection” in the sidebar to automatically update the search field whenever you highlight text in the editor. This eliminates the need for copy-pasting.
Additional Notes (Performance & Scope)
Dynamic Highlighting Scope:
To maintain high performance, the editor highlights the 300 matches nearest to your current position (150 before and 150 after). As you move through the document, this highlight window shifts automatically.
Unlimited “Replace All”:
The “Replace All” function is not affected by the highlight limit. It will accurately replace every single match throughout the entire document, regardless of whether it is currently highlighted in the editor.
Buy Me a Coffee
If this plugin helps you in your work, consider buying me a coffee.
Your support helps keep this plugin maintained and improved.
Donate via PayPal:
https://www.paypal.me/kasuga16
