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
HTML (50.11%)
CSS (45.43%)
PHP (4.46%)
Total Downloads
40,181,096
Last Day
37,702
Last Week
188,756
Last Month
845,417
Last Year
9,154,145
NOASSERTION License
33 Stars
3,031 Commits
15 Forks
5 Watchers
1 Branches
17 Contributors
Updated on Jul 04, 2025
Latest Version
4.5.2
Package Id
froala-editor@4.5.2
Unpacked Size
6.07 MB
Size
1.74 MB
File Count
265
NPM Version
6.14.18
Node Version
14.21.3
Published on
May 14, 2025
Cumulative downloads
Total Downloads
Last Day
2.3%
37,702
Compared to previous day
Last Week
1.5%
188,756
Compared to previous week
Last Month
2.1%
845,417
Compared to previous month
Last Year
17%
9,154,145
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.
6.1/10
Summary
Froala WYSIWYG editor allows cross-site scripting (XSS)
Affected Versions
<= 4.3.0
5.4/10
Summary
Froala Editor Cross-site Scripting vulnerability
Affected Versions
>= 4.0.1, <= 4.1.3
Patched Versions
4.1.4
6.1/10
Summary
Cross site scripting in froala-editor
Affected Versions
<= 4.0.6
Patched Versions
4.0.11
6.1/10
Summary
DOM-based cross-site scripting in Froala Editor
Affected Versions
< 3.2.3
Patched Versions
3.2.3
6.1/10
Summary
Cross-site Scripting in Froala Editor
Affected Versions
<= 3.2.6
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More