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]: class 'has-focus' has wiped the 'ProseMirror-selectednode' #5965

Open
1 task done
badPumps opened this issue Dec 27, 2024 · 1 comment
Open
1 task done

[Bug]: class 'has-focus' has wiped the 'ProseMirror-selectednode' #5965

badPumps opened this issue Dec 27, 2024 · 1 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

Comments

@badPumps
Copy link

Affected Packages

@tiptap/vue-2, @tiptap/extension-focus

Version(s)

2.10.4

Bug Description

when use import { VueNodeViewRenderer } from '@tiptap/vue-2' and export { FocusClasses as Focus } from '@tiptap/extension-focus'

class 'has-focus' will wiped the 'ProseMirror-selectednode'

Browser Used

Chrome

Code Example URL

No response

Expected Behavior

class 'has-focus' and 'ProseMirror-selectednode' , both of them should appear on the div node(with attribute data-node-view-wrapper) at the same time

Additional Context (Optional)

No response

Dependency Updates

  • Yes, I've updated all my dependencies.
@badPumps badPumps 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 Dec 27, 2024
@badPumps
Copy link
Author

and another bug:

The node returned using the VueNodeViewRenderer method is missing the class "node-" + nodeName

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
None yet
Development

No branches or pull requests

1 participant