Gathering detailed insights and metrics for froala-editor
Gathering detailed insights and metrics for froala-editor
Gathering detailed insights and metrics for froala-editor
Gathering detailed insights and metrics for froala-editor
vue-froala-wysiwyg
Vue plugin for Froala WYSIWYG HTML rich text editor.
react-froala-wysiwyg
React component for Froala WYSIWYG HTML rich text editor.
ember-froala-editor
An ember-cli addon that properly wraps the Froala WYSIWYG Editor for use in Ember.js
aurelia-froala-editor
Aurelia plugin for Froala WYSIWYG HTML rich text editor.
npm install froala-editor
Typescript
Module System
Node Version
NPM Version
98.7
Supply Chain
89.8
Quality
85.7
Maintenance
100
Vulnerability
99.1
License
HTML (50.11%)
CSS (45.43%)
PHP (4.46%)
Total Downloads
40,405,070
Last Day
3,995
Last Week
187,642
Last Month
797,758
Last Year
9,168,864
NOASSERTION License
33 Stars
3,031 Commits
15 Forks
5 Watchers
1 Branches
17 Contributors
Updated on Jul 04, 2025
Latest Version
4.6.0
Package Id
froala-editor@4.6.0
Unpacked Size
6.51 MB
Size
1.81 MB
File Count
265
NPM Version
6.14.18
Node Version
14.21.3
Published on
Jul 23, 2025
Cumulative downloads
Total Downloads
Last Day
-0.1%
3,995
Compared to previous day
Last Week
-3.7%
187,642
Compared to previous week
Last Month
-3.3%
797,758
Compared to previous month
Last Year
17.2%
9,168,864
Compared to previous year
No dependencies detected.
Froala WYSIWYG HTML Editor is one of the most powerful JavaScript rich text editors ever.
npm install froala-editor
bower install froala-wysiwyg-editor
Using Froala Editor from CDN is the easiest way to install it and we recommend using the jsDeliver CDN as it mirrors the NPM package.
1<!-- Include Editor style. --> 2<link href="https://cdn.jsdelivr.net/npm/froala-editor@latest/css/froala_editor.pkgd.min.css" rel="stylesheet" type="text/css" /> 3 4<!-- Create a tag that we will use as the editable area. --> 5<!-- You can use a div tag as well. --> 6<textarea></textarea> 7 8<!-- Include Editor JS files. --> 9<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/froala-editor@latest/js/froala_editor.pkgd.min.js"></script> 10 11<!-- Initialize the editor. --> 12<script> 13 new FroalaEditor('textarea'); 14</script>
Froala Editor is compatible with AMD module loaders such as RequireJS. The following example shows how to load it along with the Algin plugin from CDN using RequireJS.
1<html> 2<head> 3 <!-- Load CSS files. --> 4 <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/froala-editor@latest/css/froala_editor.css"> 5 6 <script src="require.js"></script> 7 <script> 8 require.config({ 9 packages: [{ 10 name: 'froala-editor', 11 main: 'js/froala_editor.min' 12 }], 13 paths: { 14 // Change this to your server if you do not wish to use our CDN. 15 'froala-editor': 'https://cdn.jsdelivr.net/npm/froala-editor@latest' 16 } 17 }); 18 </script> 19 20 <style> 21 body { 22 text-align: center; 23 } 24 div#editor { 25 width: 81%; 26 margin: auto; 27 text-align: left; 28 } 29 .ss { 30 background-color: red; 31 } 32 </style> 33</head> 34 35<body> 36 <div id="editor"> 37 <div id='edit' style='margin-top:30px;'> 38 </div> 39 </div> 40 41 <script> 42 require([ 43 'froala-editor', 44 'froala-editor/js/plugins/align.min' 45 ], function(FroalaEditor) { 46 new FroalaEditor('#edit') 47 }); 48 </script> 49</body> 50 51</html>
Froala Editor is using an UMD module pattern, as a result it has support for CommonJS. The following examples presumes you are using npm to install froala-editor, see Download and install FroalaEditor for more details.
1var FroalaEditor = require('froala-editor'); 2 3// Load a plugin. 4require('froala-editor/js/plugins/align.min'); 5 6// Initialize editor. 7new FroalaEditor('#edit');
Since Froala Editor supports ES6 (ESM - ECMAScript modules) and UMD (AMD, CommonJS), it can be also loaded as a module with the use of transpilers. E.g. Babel, Typescript. The following examples presumes you are using npm to install froala-editor, see Download and install FroalaEditor for more details.
1import FroalaEditor from 'froala-editor' 2 3// Load a plugin. 4import 'froala-editor/js/plugins/align.min.js' 5 6// Initialize editor. 7new FroalaEditor('#edit')
For more details on customizing the editor, please check the editor documentation.
At present, we officially aim to support the last two versions of the following browsers:
We use GitHub Issues as the official bug tracker for the Froala WYSIWYG HTML Editor. Here are some advices for our users that want to report an issue:
If you have questions or need help integrating the editor please contact us instead of opening an issue.
In order to use the Froala Editor you have to purchase one of the following licenses according to your needs. You can find more about that on our website on the pricing plan page.
No vulnerabilities found.