CKEditor 5 v29.2.0 with redesigned find and replace and localized DLL builds
CKEditor v29.2.0 is here with a redesigned find & replace plugin and several important bug fixes that enhance efficiency. The DLL builds can now be easily localized. We have expanded our documentation, too, to make the integration of pagination and exports to Word and PDF more approachable. Read on to find out all about it!
# New rich text editor features
The work never ends on enhancing CKEditor 5, as there are always new challenges and needs of the writers and editors ahead of us. The find and replace feature got a revamp to provide the best user experience and efficiency available. Image pasting was optimized and sped up. The DLL builds now provide a way to not only integrate new features and plugins easily but are also as easily localized to serve users speaking any language. And to aid the integrators and admins we have rolled out a detailed guide on configuring the pagination feature to use with export to Word and PDF. There were also some other minor changes to help everything work smooth and fast.
As always, we are looking forward to your feedback on these changes. Any comments, recommendations, and bug reports that you submit allow us to choose the proper direction for future development and tend better to our users’ needs.
Find out more about the new rich text editor features and make sure to check out the demos and documentation that accompany them.
# Further improvement to the find and replace feature
CKEditor 5’s very own find and replace plugin has gotten further enhancements aimed at improving the user experience when using this handy feature.
The dropdown panel was redesigned to match the style and feel of other toolbar items that the users have grown accustomed to. The search options were moved to their own dropdown menu to declutter the search pane. The dropdown was also enlarged to accommodate the new next and previous navigation arrows.
Other improvements include:
- Slight changes to the behavior of the feature.
- Better handling of the internal mechanisms that deal with the search, replacement and resetting the phrases.
- Enhanced color scheme, making searched items more readable in the content.
All of that contributes to a better search experience, ensuring higher efficiency and better overall user experience.
You can read more about the feature, and learn how to install it, in the find and replace guide. Check out the accompanying demo to try it out!.
# Localized DLL builds
Introducing the DLL builds mechanism into CKEditor 5 Framework opened the possibility of modifying your editor implementation almost on the go. The ability to have a separate base DLL build containing the core set of the key plugins and additional DLL packages allows for faster and easier changes and adding new features.
So far, however, the DLL builds were only offered in the default language of CKEditor 5 — in English. This has now changed. Using the very same simple configuration mechanism as with plugins, the integrator can now create localized versions.
The base build always generates translation files for the core feature. The same applies to DLL-compatible packages. These translations are delivered thanks to our framework supporting UI localization.
The translation files can be included and loaded in the DLL configuration just like features are.
Refer to the DLL localization guide to find out more about this new convenient way to tailor CKEditor 5 to your needs!
# Guide for integrating pagination with export to Word and PDF
We have prepared a handy step-by-step guide aimed at admins and integrators. It describes in detail all that needs to be done to implement all three of these features and integrate them for a smooth, efficient user experience, ensuring the proper export output each time.
Check out the Integrating pagination with exports guide. You can also read a dedicated blog post about preparing ready-to-print documents employing the pagination, export to Word and export to PDF, as well as creating user-interactive templates.
# Large images paste better
The ability to add images to content is one of the most basic features for a rich-content editor. One of the ways to input images into documents created with CKEditor 5 is simply pasting them. We have introduced a solution suggested by FlowIT-JIT which allowed optimizing the paste process. Thanks to this, large images will now paste faster and the whole process is more stable than before, enhancing the security and efficiency of the operation. Thanks FlowIT-JIT for the tip!
# Bug fixes
As usual, we fixed some bugs to make editing great content even greater than before.
# Source editing caret location
A minor but annoying mistake was removed from the source editing feature, a versatile tool that lets the user access the HTML source of the document directly. When paired with General HTML Support, it extends vastly the ways the content can be formatted. If coupled with Markdown output feature it will produce a Markdown source instead.
Previously, upon entering the source editing mode, the caret would be carried to the end of the document. We have fixed this and the editor will now scroll to the top of the source code instead.
# Better highlight
The highlight feature lets the user mark the selected text with various colors. These marking tools are very useful, for example, when reviewing content or marking it for future reference. A bug we have just fixed caused the highlight to be removed when anything more was typed in the highlighted portion of the text.
It was corrected and now the marked area remains unaffected while the highlight accommodates what is newly typed in.
# Filtering HTML comments
When pasting content from different sources, the data may often contain some redundant information. These may be styles left by Microsoft Word or HTML comments stored inside the content, even though not displayed in the editor.
Such redundant data is mostly unwanted, as it clutters the code and bloats it. From v29.2.0 CKEditor 5 will strip all HTML comments that may be present in the data on paste, ensuring optimal results.
If, on the other hand, you want to add your own HTML comments to the document you are editing, we have a dedicated HTML comments solution for that, too.
Please refer to the changelog for more new features, improvements and bug fixes.
# Breaking changes
This release introduces some minor breaking changes, both in the core package and in several features. Make sure you check the changelog for more details.
# What’s next?
We keep on constantly improving and adding new features to our software. Here are some of the things that we will start or will continue working on in this iteration:
- Support for advanced lists (document lists).
- Real-time collaboration support in revision history.
- Automatic text transformation: Allow reverting by pressing Backspace and fixing an issue with dates getting turned into fractions.
- Table toolbar does not respect
Some more bug fixes and improvements are on the line, too, so follow the iteration 47 roadmap for more news and features we have already started working on.
CKEditor 5 is available under Open Source and Commercial licenses. Full details can be found on our license page.