What is @ckeditor/ckeditor5-find-and-replace?
@ckeditor/ckeditor5-find-and-replace is a plugin for CKEditor 5 that provides find and replace functionality within the editor. It allows users to search for specific text and replace it with new text, making text editing more efficient.
What are @ckeditor/ckeditor5-find-and-replace's main functionalities?
Find Text
This feature allows users to search for specific text within the editor. The code sample demonstrates how to initialize the CKEditor with the FindAndReplace plugin and execute a search for the term 'searchText'.
ClassicEditor.create(document.querySelector('#editor'), { extraPlugins: [ FindAndReplace ] }).then(editor => { editor.execute('find', 'searchText'); }).catch(error => { console.error(error); });
Replace Text
This feature allows users to replace specific text with new text. The code sample shows how to initialize the CKEditor with the FindAndReplace plugin and execute a replace operation, replacing 'oldText' with 'newText'.
ClassicEditor.create(document.querySelector('#editor'), { extraPlugins: [ FindAndReplace ] }).then(editor => { editor.execute('replace', { searchText: 'oldText', replaceText: 'newText' }); }).catch(error => { console.error(error); });
Find and Replace Dialog
This feature provides a user interface for finding and replacing text. The code sample demonstrates how to initialize the CKEditor with the FindAndReplace plugin and create the find and replace dialog.
ClassicEditor.create(document.querySelector('#editor'), { extraPlugins: [ FindAndReplace ] }).then(editor => { editor.ui.componentFactory.create('findAndReplace'); }).catch(error => { console.error(error); });
0
CKEditor 5 find and replace feature

This package implements the find and replace feature for CKEditor 5.
Installation
This plugin is part of the ckeditor5
package. Install the whole package to use it.
npm install ckeditor5
Create free account
If you want to check full CKEditor 5 capabilities, sign up for a free non-commitment 14-day trial.
Demo
Check out the demo in the find and replace feature guide.
Documentation
See the @ckeditor/ckeditor5-find-and-replace
package page in CKEditor 5 documentation.
License
Licensed under a dual-license model, this software is available under:
For more information, see: https://ckeditor.com/legal/ckeditor-licensing-options.
45.1.0 (May 14, 2025)
We are happy to announce the release of CKEditor 5 v45.1.0.
Release highlights
Typing Improvements
The typing behavior has been improved for plain text typing. This adjustment allows the web browser to handle text insertion before the editor processes it, enhancing typing reliability across various scenarios, especially on Safari and iOS devices. Issues related to track changes, autocorrect, automatic text replacement, and other input methods have been addressed.
Track Changes Enhancements
A new method to start a "tracking session" has been introduced, preventing automatic merging of adjacent suggestions. This allows for more precise control over individual changes, catering to workflows that require selective acceptance of edits.
Miscellaneous improvements
- Sticky toolbars and balloons are now better aligned with the visual viewport on iOS and Safari, ensuring correct positioning when zooming.
- The fullscreen plugin has been improved to maintain scroll position when exiting fullscreen, avoiding unexpected jumps on smooth-scrolling pages. Layout consistency has been refined by adjusting margins and editable width. Errors related to the Content minimap plugin in fullscreen mode have also been resolved.
- Introduced a fix which ensures that the
data-author-id
and data-suggestion
attributes are preserved in non-block suggestions when retrieving data with showSuggestionHighlights: true
.
- We improved the algorithm for images detection in the Paste from Office feature, in scenarios of mixed local and online images from Microsoft Word. Paste no longer causes some images not to appear.