Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Block is not generated inside parentheses #338

Open
dev2820 opened this issue Sep 8, 2023 · 1 comment · May be fixed by #341
Open

Code Block is not generated inside parentheses #338

dev2820 opened this issue Sep 8, 2023 · 1 comment · May be fixed by #341
Labels
bug Something isn't working prio:low Low priority

Comments

@dev2820
Copy link

dev2820 commented Sep 8, 2023

Describe the bug
when I make Code Block using backtick in parentheses, then Code Block not generated

code block not created

code block not working cases

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)

  1. Access https://www.blocknotejs.org/ in Chrome (Chrome 116.0.5845.180)
  2. Write the string between parentheses with backticks.
@dev2820 dev2820 added the bug Something isn't working label Sep 8, 2023
@marwan37
Copy link

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.

Screenshot 2023-09-20 at 7 29 54 AM

You can check out the playground here: https://tiptap.dev/api/marks/code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prio:low Low priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants