How to use notifications

Use the Xeditor toast messages for your own messages

For this the notificator class of the editor can be used.

A call could look like this:

editor.getNotificator().error('my title', 'my content')
// here it might be useful to work with phrases to support global maintenance and multiple languages

There are the following levels:

  • error
  • warn
  • info