Strange behavior of view.nodeDOM with widget

Hello.

When a text has a mark and a decoration widget before it (inside the text block), view.nodeDOM can’t find the text node. This problem does not occur if only the decoration widget is present. Here is an example.

This seems to be related to the fact that the widget is rendered inside the mark. If we create the widget with side: -1, the problem disappears.

Is this the desired behavior?

Thanks!

That was definitely a bug. This patch should help.

Thanks, this solves it!