[Bug]: Code Mark not working as WYSIWYG #5096
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
Which packages did you experience the bug in?
extension-code, react
What Tiptap version are you using?
2.3.0
What’s the bug you are facing?
The code mark didn't shows as WYSIWYG whatever I type `` or anything random string inside it for example
random
:The only works way is using shortcut command+E (on my mac), but even with the shortcut, the result is not as expected, for example the code mark works if I press command+E and then type, but not works if I press command+E then then paste. In the later situation, the code mark seems to be overwritten by the paste content.
So there are two problems:
What browser are you using?
Chrome
Code example
https://codesandbox.io/p/devbox/wlwqtv?file=%2Fsrc%2FApp.jsx%3A17%2C95
What did you expect to happen?
After type single backticks or triple backticks, could show like below:
The backticks will hide if lost focus:
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: