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

[PRO]: ToC ScrollParent issue #4788

Open
1 of 2 tasks
piszczu4 opened this issue Jan 15, 2024 · 0 comments
Open
1 of 2 tasks

[PRO]: ToC ScrollParent issue #4788

piszczu4 opened this issue Jan 15, 2024 · 0 comments
Labels
Category: Pro The issue or pull request is related to the pro packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug

Comments

@piszczu4
Copy link

Which packages did you experience the bug in?

table-of-contents

What Tiptap version are you using?

latest

What’s the bug you are facing?

As per documentation, we should be able to set editor.view.dom as a scrollParent for ToC.
image

However, I can't access editor.view.dom since editor is not defined yet. I.e. I'm using

editor = useEditor({
    extensions: [TableOfContents.configure()]
})

What browser are you using?

Chrome

Code example

No response

What did you expect to happen?

Have possibility to set editor.view.dom as scrollParent

Anything to add? (optional)

No response

Did you update your dependencies?

  • Yes, I’ve updated my dependencies to use the latest version of all packages.

Are you sponsoring us?

  • Yes, I’m a sponsor. 💖
@piszczu4 piszczu4 added Category: Pro The issue or pull request is related to the pro packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug labels Jan 15, 2024
@github-project-automation github-project-automation bot moved this to Triage open in Tiptap Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Pro The issue or pull request is related to the pro packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug
Projects
No open projects
Status: Triage open
Development

No branches or pull requests

1 participant