[PRO]: ToC ScrollParent
issue
#4788
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
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
![image](https://private-user-images.githubusercontent.com/88668060/296759542-85cd79f5-cbc0-4119-b6fa-66cf621da28d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTIxNDUsIm5iZiI6MTczOTM1MTg0NSwicGF0aCI6Ii84ODY2ODA2MC8yOTY3NTk1NDItODVjZDc5ZjUtY2JjMC00MTE5LWI2ZmEtNjZjZjYyMWRhMjhkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA5MTcyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE5MDE1NmU1MDA2MjMwMzgwZWJhYzBiZDRjNjI2NDYyZTkwOWVlNjZjNjIwMDFkZGNhZTcwN2YyMzY0YjVhMTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.0VJU3hsmQmays9NDYRWIG52OrO1qOGOpglTW3TehnLs)
editor.view.dom
as a scrollParent for ToC.However, I can't access
editor.view.dom
sinceeditor
is not defined yet. I.e. I'm usingWhat browser are you using?
Chrome
Code example
No response
What did you expect to happen?
Have possibility to set
editor.view.dom
as scrollParentAnything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: