[Bug]: Inline style tags, or marks, like bold & italic do not work with the CodeBlock node #4032
Open
1 of 2 tasks
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Triage: Open
A new issue or pullrequest that requires triage (added by default)
Type: Bug
The issue or pullrequest is related to a bug
Which packages did you experience the bug in?
extension-code-block
What Tiptap version are you using?
2.0
What’s the bug you are facing?
A CodeBlock is currently not allowed to have marks like bold or italic applied to text inside of it. However, it should. A code block is simply a
pre
tag wrapping acode
tag, and both of those are allowed to contain Phrasing Content.strong
andem
are two such tags in that category.References:
What browser are you using?
Firefox
Code example
https://tiptap.dev/api/nodes/code-block#usage
What did you expect to happen?
Phrasing content tags/marks like bold and italic to be allowed and render in the editor.
Anything to add? (optional)
No responseY'all rock! 😄Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: