We would like to let you know that the fourth developer preview of CKEditor 5 was tagged as version v0.4.0 last week.
You can read about the initial goals of this iteration in the Planning: Iteration 4 post. We have not managed to do everything that we have planned, but this release contains important fixes and some new features like pasting support, autoformatter and focus tracker anyway.
Selection handling improvements:
<strong></strong>) and is another step towards a full support for text composition (IME).
Last but not least, we implemented fake selection support which is important for widgets. We planned to also implement our first widget (in the form of the image feature), but this has to be moved to the next iteration.
We implemented the clipboard feature which brings basic support for pasting. The feature uses the new
DataController.insert() method which filters out the content before inserting it into the data model.
In the next iteration we plan to work on the stability of the content filtering mechanism. Filtering is based on the view-to-model conversion logic (which is meant to drop everything that a certain feature does not handle) and so far we have been writing converters only with allowed content in mind. It is now time to write tests and improvements for the pessimistic scenarios.
We implemented the autoformat feature which has two engines:
This feature is predefined to create e.g. a heading when you type # at the beginning of a block or bold the text between
** characters. The engines can also be configured to apply different formats on different "triggers".
The change done by the autoformatter can, of course, be undone if the user did not intend to make it.
loadmodule. It was meant to simplify loading features, but it has been working around different module system limitations, so it was a bigger problem than gain.
We updated the basic CKEditor 5 sample that you can play with. Check out the developer preview of CKEditor 5 (version 0.4.0) on the CKEditor 5 GitHub.io page.
Iterantion 5 has already started. We plan to turn on continuous integration for CKEditor 5 packages and to switch to Karma and Webpack for the testing environment. Work will also continue on the image and clipboard packages. Last but not least, we have been working on the final UI library refactoring since some time already and hope to finish it soon.
We are most excited about the project and would love to get some feedback about this early preview.
You can report all general issues in the main CKEditor 5 repository. Specific issues, like those related to the editing engine, should be reported in their respective repositories. Very general ideas and questions can be reported in the design repository.