The RichTextEditor triggers events based on its actions.

The events can be used as an extension point to perform custom operations.