Library update
The library has been updated to work with the latest Froala Editor version (v4). This version has been rewritten at its core, doing away with jQuery dependencies and changing how things like initializing the editor, attaching events, etcetera work. As of such, substantial changes have been made to the wrapper library to accommodate these changes.
This version of the Froala library will only work with Froala versions v4 and above. For older versions of the Froala Editor, please use previous versions of the Froala Library.
New features
Print
When pbShowButtonPrint is set to True allows for direct printing of the editor contents. To use this, the Print extension must be included.
Upload and insert images
The image manager has been expanded with direct uploading of images to be inserted in the editor. For this pbUploadImages must be set to True (default).
From here, implement OnImageUpload to return the path to upload the file to, as well as OnImageFinished to return a publicly accessible URL for the uploaded image. To make images publicly accessible, either place them in a subfolder of your AppHtml folder, or write a custom Http Handler to map your images to public URLs.
Images can now be copied and pasted directly into the editor. By default, image uploading happens when a Save is executed, until then a placeholder image (BASE64) is shown.
Configurable Enter Key behavior
Set peEnterKey to one of the predefined values to change the default Enter key behavior to insert either a new paragraph, new div or simply a line break.
Paste from word
When including the word paste plugin, allows formatting from Word to be converted to Froala format.
pbAskKeepWordFormat (default True) will popup a dialog asking if you would like to convert Word format to Froala.
Code Beautifier
Works out of the box, makes code sections in the editor look cleaner.