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

Feat/page anchors #2914

Merged
merged 3 commits into from
Sep 14, 2022
Merged

Feat/page anchors #2914

merged 3 commits into from
Sep 14, 2022

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Sep 13, 2022

Summary

Bring back the link anchors for headings. Also added tests for the issue where changing the heading level removed the heading content (#2868)

Also added a chai assertion for checking an element
is currently shown in the viewport of the window.
This is needed as the cypress visibility checks fail
for tiptap elements, as they are overlaid by the author color / names.

Signed-off-by: Ferdinand Thiessen <[email protected]>
Handle inter-page links properly and use a heading view for displaying links and link anchors. Implements #2173

Also fix link handling, to scroll to selected header when
clicking on an anchor link (`#some-id`).

Signed-off-by: Ferdinand Thiessen <[email protected]>
Copy link
Member

@vinicius73 vinicius73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for take care of this.

@vinicius73
Copy link
Member

/compile

Signed-off-by: nextcloud-command <[email protected]>
@max-nextcloud max-nextcloud merged commit 5c7c7a9 into master Sep 14, 2022
@delete-merged-branch delete-merged-branch bot deleted the feat/page-anchors branch September 14, 2022 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change heading error
4 participants