Skip to content

Craft CMS plugin for Froala WYSIWYG HTML Rich Text Editor.

License

Notifications You must be signed in to change notification settings

froala/Craft-Froala-WYSIWYG

Repository files navigation

Froala WYSIWYG editor for Craft CMS (v2)

The implementation of the Froala Editor (license not included) for Craft CMS

Check the Craft CMS v3 version here

Known issue (help wanted!)

Adding links to Craft Entries causing issues when you double click on the entry to link to. Just click once and use the "Select" button.

Sorry for the inconvience. We're working on these annoying issues. But we decided to release a new version because of some missing important other features (like saving links the Craft way).

Installation

Chose one of the options to install

Composer installation

It is possible to install the plugin for Craft 2. Craft is not yet working with composer. It uses the composer installers package to move the package to craft/plugins/ folder.

composer require froala/craft-froala-editor

After requiring the plugin package, it is moved to craft/plugins/. You still need to go to the Craft Plugins page to install and enable it.

Note: it doesn't use Froala Editor sources from composer yet. This will be there for the Craft 3 version of course.

Manual installation

  1. Download the zip at the top right
  2. Extract the files from the zip file
  3. Rename the folder to "froalaeditor"
  4. Copy the froalaeditor/ folder to your craft/plugins/ folder
  5. Login the control panel of your Craft installation and navigate to Settings > Plugins
  6. Hit "install" and the plugin will be installed.

To enable the editor correctly, you should have a purchased a license on www.froala.com.

Once you have a license, for your domain, you can enter the license key in the plugin settings.

Features

  • Ability to set your license key in plugin settings
  • Ability to disable/enable editor plugins via settings
  • Creating fields defined as Richtext Froala Editor
  • Ability to change enabled plugins per field (inherit from generic plugin settings)
  • Configuration of Craft Asset sources for image/file uploads
  • Configuration of custom CSS file to be loaded relative from the site or from a plugin resource

License

Froala Editor is a beautiful WYSIWYG editor for editing web pages.

Therefor the editor needs a license. You can by one at their website.

Once purchased a license, you can enter the license key in your Craft CMS settings page.

Screenshots

Plugin Install

Plugin Settings

Plugin Field

Entry Body Field