tiptap
tiptap copied to clipboard
Youtube embed is not focused through mouse click
What’s the bug you are facing?
Embedded youtube video dont get ProseMirror-selectednode
when clicked with mouse. But does when navigates and focused with keyboard.
Which browser was this experienced in? Are any special extensions installed?
Almost all recent browser versions
How can we reproduce the bug on our side?
- Setup the youtube extension
- Try to focus it on clicking
Can you provide a CodeSandbox?
https://codesandbox.io/s/hardcore-burnell-u9nqor?file=/src/App.vue
What did you expect to happen?
When i click on the embed video, i'd expect it to auto play (as it does now) and gets focused. Because i want to provide an EDIT link details options to users. If this doesn't get focused on mouse, there is no way to show the active state or provide edit option.
Anything to add? (optional)
No response
Did you update your dependencies?
- [X] Yes, I’ve updated my dependencies to use the latest version of all packages.
Are you sponsoring us?
- [ ] Yes, I’m a sponsor. 💖
one simpler work around is to defined
.ProseMirror iframe {
pointer-events: none
}
But this should be provided as an option in the config of the plugin
This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 7 days