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

[Bug]: ReactNodeViewRenderer options.contentDOMElementTag set code,clear the code content use Backspace. the node cant delete. a new br tag was added in NodeViewContent #5087

Open
1 of 2 tasks
frankdiw opened this issue Apr 22, 2024 · 0 comments
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug

Comments

@frankdiw
Copy link

Which packages did you experience the bug in?

core.react,extension-code-block

What Tiptap version are you using?

2.2.4

What’s the bug you are facing?

I encountered this problem when implementing a custom codeblock
contentDOMElementTag:code
image
image
cotentDOMElementTag:div
image
its fine

What browser are you using?

Chrome

Code example

No response

What did you expect to happen?

like contentDOMElementTag>div behaviors

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. 💖
@frankdiw frankdiw added Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug
Projects
Status: Triage open
Development

No branches or pull requests

1 participant