I don’t know what might be going on—having a document with just a paragraph with an inline leaf node seems to not interfere with focus if I try it in the dino example (of course, you didn’t mention which browser you are using, so that might be a factor).
I try chrome, Firefox and Safari, all has the problem. when i mouse down, the cursor is in the input, then i mouse up, it blur automatically. i am using tiptap, i don’t know whether it’s the problem of tiptap
Hello, it’s my fault. I should add content: 'text*' in the nodeSpec. but now I have another problem. When the input box is focused, I type something in, and then when I press the left (or right) key on the keyboard, the cursor doesn’t move and I have to hit the left (or right) key several times before the cursor moves.
I know now, should add selectable: false in the nodeSpac.