Skip to content

Migrate from CKEditor to Froala


This guide will explain the steps that are to be followed to replace your project’s editor that is CKEditor and take it to Froala WYSIWYG.

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

Go through the video and follow the steps to change your editor to Froala.

Step by step procedure:


Remove CKEditor Script

Initially remove all the code and dependencies usage of CKEditor 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 all erased, start adding the Froala Editor files.

Follow these steps

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 you have followed the above steps your HTML page would look similar to the example mentioned under

<!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.