I’m using the latest 6.12.0 version of @codemirror/view. I see that the changlog has fixed the problem of the selection area of the block widget。
When I set the widget, there is a problem with the selected area if the current row has nothing。There are spaces or characters displayed normally。6.11.3 fixes the same problem as described. It’s just that I didn’t use the block widget.
The complete implementation of placeholder, but it cannot be reproduced in codesanbox