BlockNote
BlockNote copied to clipboard
Code Block is not generated inside parentheses
Describe the bug when I make Code Block using backtick in parentheses, then Code Block not generated
I don't know why it behaves like this because I haven't figured out the behavior of the code yet. However, if I have enough time, I will try to figure out the problem. First of all, I think it's important to note that there is a bug, so I'm writing this down.
To Reproduce This bug can demonstrate on BlockNote's demo site. (The gif posted earlier was also created on the demo site)
- Access https://www.blocknotejs.org/ in Chrome (Chrome 116.0.5845.180)
- Write the string between parentheses with backticks.
This is unrelated to BlockNote itself, but rather a default TipTap behavior (see screenshot below).
I'm in the process of trying to find a workaround that doesn't involve editing TipTap's Code extension itself, and will get back to you here if I can figure something out.
You can check out the playground here: https://tiptap.dev/api/marks/code
Should be resolved in Tiptap version 2.11.0