Darginec05 / Yoopta-Editor

Build Notion-like, Craft-like, Coda-like, Medium-like editors with Yoopta
https://yoopta.dev/
MIT License
1.44k stars 111 forks source link

[BUG] Two clicks are needed to focus the cursor on the code block #355

Open johncodeai opened 1 month ago

johncodeai commented 1 month ago

Has this bug been raised before?

Description

When you leave A Block and then click on the code block, the cursor remains in A Block.

Expected: When clicking on the code block for the first time, the cursor focuses on the position in the clicked code block.

Steps to Reproduce

No response

Screenshots

No response

Do you want to work on this issue?

No

If "yes" to above, please explain how you would technically implement this

No response