Froala Editor v4.2.0 is Here LEARN MORE

Skip to content

Migrate from CKEditor to Froala


This guide shows the steps required to remove CKEditor from your project and replace it with Froala Editor.

Froala is an easy to integrate HTML Editor that requires minimal coding knowledge.

You can watch a recording or follow the steps below to change your editor to Froala.

Step by step procedure:


Remove CKEditor Script

First, remove all the CKEditor code and dependencies from the projects.

Commonly scripts included the following:
<!-- CKEditor script file. -->
  <script src=''></script>

CKEditor initialization script.
      .catch(error => {

Add Froala Editor

Once CKEditor dependencies are removed, Follow these steps to add the Froala Editor:

  1. Include the CSS files required in the HEAD tag.

    <!-- include editor style. -->
      <link href="" rel="stylesheet" type="text/css" />
  2. Add the JS files at the end of the BODY

    <!-- Include editor JS files. -->
      <script type="text/javascript" src=""></script>
  3. Call the editor initialization.

    <!-- Initialize the Froala Editor. -->
      new FroalaEditor("textarea",{
        toolbarButtons: ['undo', 'redo', '|', 'bold', 'italic', 'underline']

The initialization example

After following the previous steps your code should look like the example below:

<!doctype html>
      <meta charset="utf-8">
      <!-- Include editor styles. -->
      <link href="" rel="stylesheet" type="text/css" />
      <!-- Create a tag that we will use as the editable area. -->
      <!-- You can use a div tag as well. -->
      <!-- Add editor JS files. -->
      <script type="text/javascript" src=""></script>
      <!-- Initialize Froala Editor. -->
        new FroalaEditor(“textarea”);

Do you think we can improve this article? Let us know.

Ready to dive in? Explore our plans