New Froala Editor v5.6.0 is here – Learn More
Froala Documentation
- Installation Guides
- Browser Support
- Languages Support
- Shortcuts
- Activation
- Examples
- Customize the Editor
- Use-cases
- Plugins
- APIs
- Development Frameworks
- Server Integrations
- Server SDKs
- Migration Guides
- Changelog
- Tutorials
Activation
Pass your license key to the editor as the key option.
Get your key
Once you purchase a license, we email your license key to the address you used at checkout. Can’t find it? Ask support@froala.com.
The free trial uses a trial key, which goes in the same option.
Add the key
The key is a string. Each framework wrapper passes it to the editor with the rest of the options.
import FroalaEditorComponent from 'react-froala-wysiwyg'; const config = {
key: 'YOUR_LICENSE_KEY',
attribution: false }; export default function Editor() { return <FroalaEditorComponent tag="textarea" config={config} />;}
import FroalaEditor, { type FroalaOptions } from 'froala-editor'; const config: Partial<FroalaOptions> = {
key: 'YOUR_LICENSE_KEY',
attribution: false }; new FroalaEditor('#editor', config);
<template> <froala :tag="'textarea'" :config="config" v-model:value="model" /></template> <script setup>// main.js registers the component with app.use(VueFroala).import { ref } from 'vue'; const config = {
key: 'YOUR_LICENSE_KEY',
attribution: false };const model = ref('');</script>
import { Component } from '@angular/core';import { FroalaEditorModule, FroalaViewModule } from 'angular-froala-wysiwyg'; @Component({ selector: 'app-editor', standalone: true, imports: [FroalaEditorModule, FroalaViewModule], template: '<div [froalaEditor]="options" [(froalaModel)]="model"></div>'})export class EditorComponent { options = {
key: 'YOUR_LICENSE_KEY',
attribution: false }; model = '';}
new FroalaEditor('#editor', {
key: 'YOUR_LICENSE_KEY',
attribution: false }); Evaluate with the trial key
Anyone can evaluate Froala with the public trial key.
TRIAL-LICENSE-KEY-FOR-FROALA-NOT-FOR-PRODUCTION-USE Pass it in the key option when you initialize the editor:
new FroalaEditor('#editor', { key: 'TRIAL-LICENSE-KEY-FOR-FROALA-NOT-FOR-PRODUCTION-USE'});
With the trial key, every feature and plugin works. The trial key never licenses a site, so do not use it in production.
Missing, invalid, or expired key
A valid key gives a clean editor on its domain and all its subdomains. Only a plain Powered by Froala text stays, which you can turn off with attribution: false.
new FroalaEditor(‘#editor’, { key: 'VALID_LICENSE_KEY',
attribution: false});
Without a valid key, the editor shows a one-line notice under it, next to the Powered by Froala badge. The notice gives the key’s status and links to what to do next. The same message is printed once per page in the browser console. A term key in its 15-day grace period still gives a clean editor.
Console messages
Each message is a console.warn, printed once per page, with its links written out in full:
// No keyThe license key for Froala Editor is missing. To evaluate, use the trial key (https://froala.com/wysiwyg-editor/docs/activation/). To buy a license, go to https://cart.froala.com. // Trial keyYou are using a 30-day trial version of Froala Editor, which is not for production use. Buy a license at https://cart.froala.com. // Invalid keyThe license key for Froala Editor is invalid. Make sure to use the trial key (https://froala.com/wysiwyg-editor/docs/activation/) or buy a license (https://cart.froala.com). // Expired keyThe license key for Froala Editor expired, please renew at https://cart.froala.com or contact our sales team (https://froala.com/wysiwyg-editor/contact/?department=sales).
What the notice under the editor means
| Notice | What it means | What to do |
|---|---|---|
| The license key for Froala Editor is missing. | No key, or an empty key. | Add the trial key to evaluate, or your activation key. |
| You are using a 30-day trial version of Froala Editor, which is not for production use. | You are using the trial key. | Buy a license before you go to production. |
| The license key for Froala Editor is invalid. | The key was issued for another domain, was copied incorrectly, or has a bad date. | Check that you copied the whole key and that it was issued for this domain. |
| The license key for Froala Editor expired. | A term key is more than 15 days past its expiry date, or a perpetual key is older than this release. | Contact our sales team. |
Renewal grace period
A term (annual) key keeps a clean editor for 15 days after it expires. After that, the expired notice shows on every site, including localhost.
License Activation Before v5.6
Before v5.6.0, an editor without an active license shows a red unlicensed banner. Activating a license removes it.
Froala v3+
new FroalaEditor('#editor', { key: 'YOUR_LICENSE_KEY' }); Froala v2
// jQuery (v2 only)$('#editor').froalaEditor({ key: 'YOUR_LICENSE_KEY' });
Other integrations
Every integration takes the key with its other options. Each guide shows where the key goes.