mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-27 05:15:56 +03:00
[PR #1090] [MERGED] Fix wrong offset calculation for links #1141
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#1141
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/BoostIO/BoostNote-App/pull/1090
Author: @Komediruzecki
Created: 8/12/2021
Status: ✅ Merged
Merged: 8/13/2021
Merged by: @Rokt33r
Base:
master← Head:bugfix/fix-md-link-comment-not-calculating-offset-correctly📝 Commits (2)
e8d1174Fix wrong offset calculation for linksbdf190dReplace == with ===📊 Changes
1 file changed (+5 additions, -1 deletions)
View changed files
📝
src/cloud/components/atoms/MarkdownView/index.tsx(+5 -1)📄 Description
The offset should be calculate from parents parent node not parent node of text segment selection
Tested in desktop app and webapp:
Showcase test:
https://user-images.githubusercontent.com/18196945/129226243-c58e1ed3-4008-4399-a644-d25a3ef09a53.mp4
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.