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
97.4
Supply Chain
89.9
Quality
82
Maintenance
100
Vulnerability
87.1
License
HTML (50.11%)
CSS (45.43%)
PHP (4.46%)
Total Downloads
34,996,300
Last Day
4,340
Last Week
170,176
Last Month
703,912
Last Year
8,367,625
32 Stars
3,031 Commits
15 Forks
6 Watching
1 Branches
16 Contributors
Minified
Minified + Gzipped
Latest Version
4.3.1
Package Id
froala-editor@4.3.1
Unpacked Size
5.96 MB
Size
1.72 MB
File Count
262
NPM Version
6.14.18
Node Version
14.21.3
Publised On
18 Nov 2024
Cumulative downloads
Total Downloads
Last day
9.4%
4,340
Compared to previous day
Last week
-6.6%
170,176
Compared to previous week
Last month
-10%
703,912
Compared to previous month
Last year
10.9%
8,367,625
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.
Stable Version
3
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
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- 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
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Score
Last Scanned on 2024-12-16
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