4.3.0 ā€¢ Published 1 month ago

froala-editor v4.3.0

Weekly downloads
83,147
License
https://www.froal...
Repository
github
Last release
1 month ago

Froala Editor V4

Build Status npm npm

Froala WYSIWYG HTML Editor is one of the most powerful JavaScript rich text editors ever.

WYSIWYG HTML Editor

Demos

Download and Install Froala Editor

Install from npm

npm install froala-editor

Install from bower

bower install froala-wysiwyg-editor

Load from CDN

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.

<!-- Include Editor style. -->
<link href="https://cdn.jsdelivr.net/npm/froala-editor@latest/css/froala_editor.pkgd.min.css" rel="stylesheet" type="text/css" />

<!-- Create a tag that we will use as the editable area. -->
<!-- You can use a div tag as well. -->
<textarea></textarea>

<!-- Include Editor JS files. -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/froala-editor@latest/js/froala_editor.pkgd.min.js"></script>

<!-- Initialize the editor. -->
<script>
  new FroalaEditor('textarea');
</script>

Load from CDN as an AMD module

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.

<html>
<head>
  <!-- Load CSS files. -->
  <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/froala-editor@latest/css/froala_editor.css">

  <script src="require.js"></script>
  <script>
    require.config({
      packages: [{
        name: 'froala-editor',
        main: 'js/froala_editor.min'
      }],
      paths: {
        // Change this to your server if you do not wish to use our CDN.
        'froala-editor': 'https://cdn.jsdelivr.net/npm/froala-editor@latest'
      }
    });
  </script>

  <style>
    body {
      text-align: center;
    }
    div#editor {
      width: 81%;
      margin: auto;
      text-align: left;
    }
    .ss {
      background-color: red;
    }
  </style>
</head>

<body>
  <div id="editor">
    <div id='edit' style='margin-top:30px;'>
    </div>
  </div>

  <script>
    require([
      'froala-editor',
      'froala-editor/js/plugins/align.min'
    ], function(FroalaEditor) {
      new FroalaEditor('#edit')
    });
  </script>
</body>

</html>

Load Froala Editor as a CommonJS Module

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.

var FroalaEditor = require('froala-editor');

// Load a plugin.
require('froala-editor/js/plugins/align.min');

// Initialize editor.
new FroalaEditor('#edit');

Load Froala Editor as a transpiled ES6/UMD module

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.

import FroalaEditor from 'froala-editor'

// Load a plugin.
import 'froala-editor/js/plugins/align.min.js'

// Initialize editor.
new FroalaEditor('#edit')

For more details on customizing the editor, please check the editor documentation.

Use with your existing framework

Browser Support

At present, we officially aim to support the last two versions of the following browsers:

  • Chrome
  • Edge
  • Firefox
  • Safari
  • Opera
  • Internet Explorer 11
  • Safari iOS
  • Chrome, Firefox and Default Browser Android

Resources

Reporting Issues

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:

  1. Make sure that you are using the latest version of the Froala WYSIWYG Editor. The issue that you are about to report may be already fixed in the latest master branch version: https://github.com/froala/froala-wysiwyg/tree/master/js.
  2. Providing us reproducible steps for the issue will shorten the time it takes for it to be fixed. A JSFiddle is always welcomed, and you can start from this basic one.
  3. Some issues may be browser specific, so specifying in what browser you encountered the issue might help.

Technical Support or Questions

If you have questions or need help integrating the editor please contact us instead of opening an issue.

Licensing

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.

oneview-guitwentyoverten-themessmile-xin-amispg-file-template-editorfastamisgrossjsev-rte@infinitebrahmanuniverse/nolb-froa@everything-registry/sub-chunk-1703vue-froala-wysiwyg-layoutswimcloud-applicationsswlite-compswlite-component-libraryvue-froalavue-froala-wysiwygvue-froala-wysiwyg-testxamissccoreuivs-panel-configuratorlilialmb-amis-uilightviewlego-amisleege_amisjamisjk-vue-editorlewanyun-sdkmeeshineilios-commoning-vue-froala-wysiwyging-vue-froalav3-wysiwygkickdigital-admin-themejamis-uijarvis-amismyamislyc-testpasja-froala-responsive-layoutportabilis-uipooja-test-web-1oa-froala-rteolive-gamified2olivegroup-gamified1olivegroup-gamifiedv1node-chat-resumanagerpg-file-editorreact-draft-wysiwyg-customreact-froala-wysiwygreact-playbooknarik-ui-extendnarik-ui-froala-editorqk-amissidanau-cr3m4-templateucan-ext-js-kitchen-sinktypegeniejstiny-report@averystupidtest/reditor@beisen-oneops/amis-ui@bodhi-project/brilliant-blue@bodhi-project/components@builtbypixel/nucleus@builtbypixel/nucleus-graphql@chuckmah/modul-components@chuckmah/modul-rich-text-editor@ckmk/ckmkyouramiszzcyi-amis-uizy-ember-froala-editorvue2-froala@fattureincloud/react-froala-wysiwyg@hdlegend/rich-text-editor@formbird/angular-elements@igloo-be/core-cms-client@firestitch/html-editor@latticejs/froala-editor@meeshine/amis@impressible/graffiti-admin-components@kentico/xperience-admin-components@bnsights-test/test-controls@bnsights/bbsf-controlsbnsights-control-librarycreatint-vue-froala-wysiwygcustom-grapesjs-editorctg-dccscec-crud-jseapp-amis-uiegde-componentseditor-componentember-froala-editorbuild-a-miscloudxin-aiot-admincms7-vue@pozible/react-froala-wysiwyg@stratusjs/angular@timcharper/vue-froala-wysiwyg@time50/amis-ui@tms-haoda/low-code@onextech/react-hocs@nylas/web-elements@wangdahoo/amis@yanghp/amis
4.3.0

1 month ago

4.2.2

2 months ago

4.2.1

5 months ago

4.2.0

8 months ago

4.1.4

11 months ago

4.1.3

1 year ago

4.1.2

1 year ago

4.1.1

1 year ago

4.1.0

1 year ago

4.0.19

1 year ago

4.0.18

2 years ago

4.0.17

2 years ago

4.0.16

2 years ago

4.0.15

2 years ago

4.0.14

2 years ago

4.0.12

2 years ago

4.0.13

2 years ago

4.0.11

2 years ago

4.0.10

3 years ago

4.0.9

3 years ago

4.0.8

3 years ago

4.0.7

3 years ago

4.0.6

3 years ago

4.0.5

3 years ago

4.0.4

3 years ago

4.0.3

3 years ago

4.0.2

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

4.0.0-1

3 years ago

3.2.7

3 years ago

3.2.6-1

4 years ago

3.2.6

4 years ago

3.2.5-2

4 years ago

3.2.5-1

4 years ago

3.2.5

4 years ago

3.2.4

4 years ago

3.2.3

4 years ago

3.2.2

4 years ago

3.2.1

4 years ago

3.2.0

4 years ago

3.1.1-2

5 years ago

2.9.8

5 years ago

3.1.1-1

5 years ago

2.9.7

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.6

5 years ago

3.0.5-rc.1

5 years ago

3.0.5

5 years ago

3.0.4

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

2.9.6

5 years ago

3.0.0

5 years ago

3.0.0-rc.2

5 years ago

3.0.0-rc.1

5 years ago

3.0.0-beta.2-1

5 years ago

3.0.0-beta.2

5 years ago

3.0.0-beta.1

5 years ago

2.9.5

6 years ago

2.9.4

6 years ago

2.9.3

6 years ago

2.9.2

6 years ago

2.9.1

6 years ago

2.9.0

6 years ago

2.8.5

6 years ago

2.8.4

6 years ago

2.8.4-rc.0

6 years ago

2.8.3

6 years ago

2.8.2

6 years ago

2.8.1

7 years ago

2.8.0

7 years ago

2.7.6

7 years ago

2.7.5

7 years ago

2.7.4

7 years ago

2.7.3

7 years ago

2.7.2

7 years ago

2.7.1

7 years ago

2.7.0

7 years ago

2.6.6

7 years ago

2.6.5

7 years ago

2.6.4

7 years ago

2.6.3

7 years ago

2.6.2

7 years ago

2.6.1

7 years ago

2.6.0

8 years ago

2.5.1

8 years ago

2.5.0

8 years ago

2.4.2

8 years ago

2.4.1

8 years ago

2.4.0

8 years ago

2.4.0-rc.1

8 years ago

2.3.5

8 years ago

2.3.4

8 years ago

2.3.3

8 years ago

2.3.2

8 years ago

2.3.1

8 years ago

2.3.0

8 years ago

2.2.4

9 years ago

2.2.3

9 years ago

2.2.2

9 years ago

2.2.1

9 years ago

2.2.0

9 years ago

2.1.0

9 years ago

2.0.5

9 years ago

2.0.4-1

9 years ago

2.0.4

9 years ago

2.0.3

9 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

2.0.0-rc.3

9 years ago

2.0.0-rc.2

9 years ago

2.0.0-rc.1

9 years ago

1.2.8

9 years ago

1.2.7

9 years ago

1.2.6

10 years ago

1.2.5

10 years ago

1.2.4

10 years ago

1.2.3

10 years ago

1.2.2

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago