CKEditor 5 code block feature

This package implements the code block 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 code block feature guide.
Documentation
See the @ckeditor/ckeditor5-code-block
package page as well as the code block feature guide in the 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.
46.1.0 (September 10, 2025)
We are happy to announce the release of CKEditor 5 v46.1.0.
Release highlights
Smoother drag & drop of widgets on iOS
We updated the implementation for more reliable drag-and-drop on iOS touch devices. The behavior on the desktop devices remains unchanged.
Pagination improvements
We reverted a low-level change to improve stability in pagination, especially in scenarios including long tables.
Hide a user in the Server-side editing API
The Server-side editor API now supports a hidden_in_presence_list
user flag. You can use this mechanism to prevent automation script users from appearing in the editor’s presence list while scripts run.
Comments’ markers clean up
We provided a better handling of edge cases where a marker points to a non-existing comment thread (for example, due to integrator mistakes). Such markers are now removed automatically to keep the editor stable.