Contribute to this guide

guideIntegrating CKEditor 5 with JavaScript frameworks

Quick recap

In the previous guides you have learned several different methods of getting your CKEditor 5 installation up and running. Now you will learn how to utilize the power of popular JavaScript frameworks with our dedicated, ready-to-use CKEditor 5 components.

# Is CKEditor 5 compatible with framework XYZ?

Yes. CKEditor 5 is compatible with every JavaScript framework that we have heard of so far. CKEditor 5 is a JavaScript rich text editing component (a pretty complex one but still) and it does not require any uncommon techniques or technologies to be used. Therefore, unless the framework that you use has very atypical limitations, CKEditor 5 is compatible with it.

# How do I use CKEditor 5 with my framework?

While CKEditor 5 is compatible with your framework and initializing it requires a single method call, integrating CKEditor 5 with your framework may require using an existing or writing a new adapter (integration layer) that will communicate your framework with CKEditor 5.

When checking how to integrate CKEditor 5 with your framework you can follow these steps:

  1. Check whether an official integration exists.

    There are four official integrations so far: for React, Angular, Vue.js 2.x, and for Vue.js 3.x.

  2. If not, search for community-driven integrations. Most of them are available on npm.

  3. If none exists, integrate CKEditor 5 with your framework by yourself.

    CKEditor 5 offers predefined builds that expose a rich JavaScript API which you can use to create editors and control them.

# Official WYSIWYG editor integrations

There are four official integrations so far:

Refer to their documentation to learn how to use them.

We plan to provide more integrations with time. We would like to hear your ideas what we should work on next.

# Compatibility with Electron

Starting from version 11.0.0 CKEditor 5 is compatible with Electron. Using CKEditor 5 in Electron applications does not require any additional steps.

Check out a sweet screencast of CKEditor 5 with real-time collaborative editing in Electron.

# Compatibility with Ionic and Cordova

CKEditor 5 is compatible with Ionic framework and Cordova. However, by default Ionic disables user-select, which blocks typing via the virtual keyboard. It is required to set this property to text on the CKEditor component. Just update your stylesheet with the following code:

ckeditor {
    -webkit-user-select: text;
    user-select: text

# Compatibility with CSS frameworks

CKEditor 5 is compatible with popular CSS frameworks, such as Bootstrap or Foundation. Such integrations, however, often require additional changes and adjustments that we have gathered in this guide.

What’s next?

After reading this guide, you know how to integrate the editor with your own system. This step almost concludes the beginner’s path with getting to know CKEditor 5.