Skip to content

Fix wrong offset calculation for links#1090

Merged
Rokt33r merged 2 commits intoBoostIO:masterfrom
Komediruzecki:bugfix/fix-md-link-comment-not-calculating-offset-correctly
Aug 13, 2021
Merged

Fix wrong offset calculation for links#1090
Rokt33r merged 2 commits intoBoostIO:masterfrom
Komediruzecki:bugfix/fix-md-link-comment-not-calculating-offset-correctly

Conversation

@Komediruzecki
Copy link
Copy Markdown
Contributor

The offset should be calculate from parents parent node not parent node of text segment selection

Tested in desktop app and webapp:

  • Add comment on plain text
  • Add comment on link
  • Add comment on header link

Showcase test:

2021-08-12.17-39-15.mp4

The offset should be calculate from parents parent node not parent node of text segment selection
@Komediruzecki Komediruzecki requested a review from Rokt33r August 12, 2021 15:41
@Rokt33r Rokt33r merged commit 5bac2c5 into BoostIO:master Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants