Error in Rich Text Editor


I am using Rich Text Editor with Vaadin 15.0.2 and Vaadin 14.1.20.

There is a problem with Safari, with Chrome there are no problems.

Of course I tried this with your sample:

It is not working, too.

Here is the problem:

In your sample I am selecting the text “hotel” and pressing the bold button. Under Safari the caret jumps to the beginning of the text when pressing the bold button. Under Chrome “hotel” is marked bold - ok.

There may be a problem with “window.getSelection” under Safari.

System is mac.png.

Thank you very much for your help,



and thanks for the report. Can you create a ticket in so this issue doesn’t get lost in the Forum?