ueberdosis/tiptap

The Backtick Markdown for Code Has Weird Behavior When Used Inline

Open

#3,870 opened on Mar 22, 2023

View on GitHub
 (2 comments) (3 reactions) (0 assignees)TypeScript (1,979 forks)batch import
area: corecomplexity: easygood first issueimpact: medium

Repository metrics

Stars
 (23,454 stars)
PR merge metrics
 (Avg merge 4d 13h) (46 merged PRs in 30d)

Description

What’s the bug you are facing?

Hi, I'm using the TipTap editor and noticed something weird when using the surrounding backticks to add a "code" formatting when in the middle of a line. Please see the attached gif

Which browser was this experienced in? Are any special extensions installed?

Chrome

How can we reproduce the bug on our side?

https://imgtr.ee/i/qg4AB

Can you provide a CodeSandbox?

No response

What did you expect to happen?

The code formatting would only be applied to the surrounded string, not spill over

Anything to add? (optional)

No response

Did you update your dependencies?

  • Yes, I’ve updated my dependencies to use the latest version of all packages.

Are you sponsoring us?

  • Yes, I’m a sponsor. 💖

Contributor guide