This sample demonstrates the events that trigger on every action of the rich text editor. The event details are showcased in the event trace panel.

More Details...

The rich text editor component is WYSIWYG ("what you see is what you get") editor that provides the best user experience to create and update the content. Users can format their content using standard toolbar commands.

Key features:

  • Provides <IFRAME> and <DIV> modes

  • Capable of handling markdown editing.

  • Contains a modular library to load the necessary functionality on demand.

  • Provides a fully customizable toolbar.

  • Provides HTML view to edit the source directly for developers.

  • Supports third-party library integration.

  • Allows preview of modified content before saving it.

  • Handles images, hyperlinks, video, hyperlinks, uploads, etc.

  • Contains undo/redo manager.

  • Creates bulleted and numbered lists.

Description

The rich text editor triggers the events based on its actions. The events can be used as an extension point to perform custom operations. change - Triggers when the editor gets blurred and changes are made to the content. focus - Triggers when the editor is in focus. blur - Triggers when focused out of the editor. actionBegin - Triggers before the execution of command. actionComplete - Triggers after the execution of command. created - Triggers when the component is created. destroyed – Triggers when the component is destroyed.