Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(dom): Hyperlinks are overridden when rendered after Paragraph#98

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Emivvvvv wants to merge3 commits intoorhun:main
base:main
Choose a base branch
Loading
fromEmivvvvv:fix/overridden-hyperlinks

Conversation

@Emivvvvv
Copy link

@EmivvvvvEmivvvvv commentedMay 6, 2025
edited
Loading

fixes:#97

This update refactorsupdate_grid to detect when a line’s hyperlink structure changes (hyperlink is added or removed) and triggers a full re-render of that line. A newrerender_line method rebuilds the DOM with correct anchor elements for hyperlink groups. If no hyperlink changes are detected, only the modified cells are updated as before.

@orhunorhun changed the titlefix(DOM): Hyperlinks are overridden when renereded after Paragraphfix(dom): Hyperlinks are overridden when rendered after ParagraphMay 7, 2025
Copy link
Owner

@orhunorhun left a comment

Choose a reason for hiding this comment

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

This looks good, however I don't understand how this is currently fixing the issue.

It would be really nice if you can explain the problem and solution in detail. This might also lead to a cleaner solution :)

@EmivvvvvEmivvvvv requested a review fromorhunJune 6, 2025 14:33
@orhun
Copy link
Owner

Thanks for the changes@Emivvvvv! Can you remind me how to test this again? Maybe we should update one of the existing examples to hit this case (so that it's clear that it works). What do you think?

Also did this work for you locally for your website?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@orhunorhunAwaiting requested review from orhun

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Old Paragraph text overrides Hyperlink line

2 participants

@Emivvvvv@orhun

[8]ページ先頭

©2009-2025 Movatter.jp