Cursor position with adjacent NodeViews


#1

Hey! I’m seeing some undesirable behavior when the cursor is between two adjacent NodeViews. In Chrome, the cursor ends up on the edge of the parent contenteditable div. In Firefox, the cursor gets the color style from the NodeView. It seems like it’s a shortcoming of contenteditable, as I’ve found similar issues in other projects:

One solution that looks promising is to stick an element after non-editable elements, but I haven’t been able to find a way to do that. How can I go about trying that out? Maybe there’s a better solution?


#2

Are these block or inline node views? The cursor color issue should be fixable with a style like caret-color: black, I believe.