I created my own node in Lexical and applied it some styles.
It uses the "token" mode: node.setMode("token");
I would like to disable displaying caret inside the node, just like on this image:
Ideally, when user clicks on the node, the caret would stay where it stays.
Here is a demo: codesandbox