ueberdosis/tiptap

The Backtick Markdown for Code Has Weird Behavior When Used Inline

Open

#3.870 geöffnet am 22. März 2023

Auf GitHub ansehen
 (2 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)TypeScript (1.979 Forks)batch import
area: corecomplexity: easygood first issueimpact: medium

Repository-Metriken

Stars
 (23.454 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 4T 13h) (46 gemergte PRs in 30 T)

Beschreibung

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