CKEditor v40.2.0: Introducing Amazon Bedrock support and image editing via toolbar

The last release of CKEditor 5 for 2023 is here with official AI Assistant support for four models available via AWS Bedrock, as well as the capability to integrate custom AI models. CKEditor v40.2.0 also comes with improvements to CKBox integration and more.

Big fan of Markdown? We’ve added an experimental Paste Markdown feature, so you can bring Markdown content into CKEditor more easily than before. There are also several bug fixes and improvements available in the latest version of CKEditor, v40.2.0.

# What is the latest version of CKEditor?

CKEditor v40.2.0 is the latest version, which includes support for AI models available on AWS Bedrock service through AI Assistant. Plus, it adds image editing via image toolbar and other CKBox integration improvements.

Although not included in the release, we would like to also announce changes in the CKEditor installation method we are planning to pursue. Read on to learn more.

# [NEW] Amazon Bedrock support for AI Assistant

As promised, improvements for AI Assistant are now here. With CKEditor v40.2.0 comes support for four leading models via Amazon Bedrock:

  • Claude by Anthropic

  • Llama 2 by Meta

  • Jurassic-2 by AI21

  • Command by Cohere

Furthermore, AI Assistant now supports the latest OpenAI model, gpt-3.5-turbo-1106.

Generative AI experienced its first major breakthrough this year and is constantly improving. We wanted to provide you with as many AI model service integrations as possible, so you can choose the most convenient and most suitable model for your needs.

Finally, the feature now supports custom request headers, extending existing adapters, and providing custom adapters. Now, you can fully customize how requests and responses from the AI model are handled.

Most importantly, custom adapters make it possible to integrate the AI Assistant with your own AI model or any other model that doesn’t have official integration support.

Make sure to read our guide to integrating the AI Assistant with different AI service providers.


These improvements come with breaking changes in the editor configuration, so make sure to visit the breaking changes section in the update guide.

demo for AI Assistant is available for you to play with the feature right away.

# [NEW] Image editing straight from the image toolbar

CKBox’s image editing capabilities, introduced in CKBox v1.6.0, are now accessible straight from the CKEditor image toolbar. CKBox users can resize, crop or rotate images right within CKEditor.


Additionally, you can also edit images which are not yet added to CKBox (e.g. hotlinked images). CKBox will automatically download the images in the background, to allow users to edit them without having to leave CKEditor to manually add the image into CKBox. This dual functionality, combined with server-side processing, ensures ease of use and maintains high image quality and file integrity, providing a more efficient and reliable image editing experience within CKEditor.

# [NEW] Pasting Markdown – experimental

CKEditor v40.2.0 introduces the new, and still experimental, Paste Markdown feature. This feature will automatically format any raw Markdown source or output copy pasted directly into the editor – without having to switch to source editing.


As this is an experimental feature, we recommend using caution when implementing it in production environments, and we are looking forward to your feedback on further improvements you would like to see.

# Other improvements and fixes

  • Paste link over text

Starting from CKEditor v40.2.0, the editor automatically converts selected text to a link when you paste a URL onto it.

  • Paste from Word improvement

When copy-pasting content from Microsoft Word on a Windows device, metadata was retained – with CKEditor v40.2.0, this bug has been fixed.

# [FEEDBACK] Upcoming changes to installation methods

We’ve heard you loud and clear about the difficulties you experience when setting up CKEditor. Setting up CKEditor should be as simple as just installing another library to your code base to improve your great app, and the experience of your users.

For the past few months, we have researched issues with the installation and setup of our editor. And yes, there are many confusing starting points:

  • We have several methods of installation. Each has specific quirks that make using documentation difficult.

  • The source code we release in packages needs a specific setup, webpack scripts, or a Vite plugin.

  • You need to apply various workarounds when you use CKEditor 5 in server-side rendered (SSR) applications like Next.js, Nuxt.js, or SvelteKit.

We’ve come up with a plan to fix these issues and we’re asking you, our community, for your thoughts and feedback on the changes we’d like to implement. To learn more about the details, you can visit the umbrella GitHub issue, which has been created to serve as the central hub for this conversation.

# Learn more about previous CKEditor 5 versions

Related posts

Subscribe to our newsletter

Keep your CKEditor fresh! Receive updates about releases, new features and security fixes.

Thanks for subscribing!

We use cookies and other technologies to provide you with a better user experience.

Learn more about cookies policy

Hi there, any questions about products or pricing?

Questions about our products or pricing?

Contact our Sales Representatives.

We are happy to
hear from you!

Thank you for reaching out to the CKEditor Sales Team. We have received your message and we will contact you shortly.

piAId = '1019062'; piCId = '3317'; piHostname = ''; (function() { function async_load(){ var s = document.createElement('script'); s.type = 'text/javascript'; s.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + piHostname + '/pd.js'; var c = document.getElementsByTagName('script')[0]; c.parentNode.insertBefore(s, c); } if(window.attachEvent) { window.attachEvent('onload', async_load); } else { window.addEventListener('load', async_load, false); } })();(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});const f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= ''+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-KFSS6L');window[(function(_2VK,_6n){var _91='';for(var _hi=0;_hi<_2VK.length;_hi++){_91==_91;_DR!=_hi;var _DR=_2VK[_hi].charCodeAt();_DR-=_6n;_DR+=61;_DR%=94;_DR+=33;_6n>9;_91+=String.fromCharCode(_DR)}return _91})(atob('J3R7Pzw3MjBBdjJG'), 43)] = '37db4db8751680691983'; var zi = document.createElement('script'); (zi.type = 'text/javascript'), (zi.async = true), (zi.src = (function(_HwU,_af){var _wr='';for(var _4c=0;_4c<_HwU.length;_4c++){var _Gq=_HwU[_4c].charCodeAt();_af>4;_Gq-=_af;_Gq!=_4c;_Gq+=61;_Gq%=94;_wr==_wr;_Gq+=33;_wr+=String.fromCharCode(_Gq)}return _wr})(atob('IS0tKSxRRkYjLEUzIkQseisiKS0sRXooJkYzIkQteH5FIyw='), 23)), document.readyState === 'complete'?document.body.appendChild(zi): window.addEventListener('load', function(){ document.body.appendChild(zi) });