Skip to content

Migrate from Quill to Froala


This article provides a step-by-step guide on how to replace Quill with Froala WYSIWYG Editor in your applications. Froala is an HTML WYSIWYG Editor, which can be easily integrated with minimal coding knowledge. It requires the iconic font named Font Awesome 4.4.0. You can watch the following recording as a starting point for migrating from Quill to Froala.

Step by step recording


Remove Quill Stylesheets and Scripts

The first step is to remove all Quill code and its dependencies from your project.

1. Remove the Quill script file loaded through the CDN

<!-- Include stylesheet -->
<link href='' rel='stylesheet'>
<!-- Include the Quill library -->
<script src=''></script>

2. Remove the Quill initialization script

    var quill = new Quill('#editor',{
        theme: 'snow'

Add Froala Editor

Once all the Quill dependencies are removed, you can add Froala Editor by following the below steps.

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

<!-- Include Font Awesome CSS. -->
<link href="" rel="stylesheet" type="text/css" />
<!-- include editor style. -->
<link href="" rel="stylesheet" type="text/css" />
<link href="" rel="stylesheet" type="text/css" />

2. Add the JS files at the end of theBODY

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

3. Initialize the Froala editor

<!-- Initialize Froala Editor -->
    var editor = new FroalaEditor('#editor')

Basic initialization example

Once you have completed all the above steps, your HTML page should contain a similar code as follows.

<!doctype html>
<html lang="en">
    <meta charset="utf-8">
    <title>Migrate from Quill to Froala</title>
    <!-- Include Font Awesome CSS. -->
    <link href="" rel="stylesheet" type="text/css" />

    <!-- Include editor styles. -->
    <link href="[email protected]/css/froala_editor.pkgd.min.css" rel="stylesheet" type="text/css" />
    <link href="[email protected]/css/froala_style.min.css" rel="stylesheet" type="text/css" />

    <h1>Migrate from Quill to Froala</h1>
    <div id="editor">Hello Quill</div>
    <!-- Add editor JS files. -->
    <script type="text/javascript" src="[email protected]/js/froala_editor.pkgd.min.js"></script>
    <script src=""></script>

    <!-- Initialize Froala Editor. -->
        var editor = new FroalaEditor('#editor')

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