Select text in tests #5276
Unanswered
sinnbeck
asked this question in
Questions & Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to do some testing on my component using the tiptap editor. So far everything works, but I want to make sure I can select some text, and then trigger italic or similar on the text. I can select the text just fine, but it seems that tiptap (or prosemirror) does not pick up the selection at all.
This is my text. The part that checks what is selected works, but toggling italic does not
I have also tried just overwriting the selected text using
user.type('foo')
but that just appends it to the end of the current textBeta Was this translation helpful? Give feedback.
All reactions