mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-27 05:15:56 +03:00
[GH-ISSUE #247] Markdown preview is not scrolling along with editor #83
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#83
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?
Originally created by @dwivedikunal100 on GitHub (Dec 31, 2019).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/247
Originally assigned to: @Rokt33r on GitHub.
Current behavior
Markdown preview is not scrolling along with editor
Expected behavior
The preview should scroll up or down along with the editor,to view section of the document currently being edited.
Steps to reproduce
Environment
@Rokt33r commented on GitHub (Jan 5, 2020):
It is not implemented yet. Thanks for the reminding!
@thien-do commented on GitHub (Aug 21, 2020):
@Rokt33r I believe this requires each (top-level) elements in the generated HTML in preview has a data-line references back to its source. Do you think we have that with remarkjs yet?
I took a look at the legacy version and saw the token walk to add data-line, but could not find anything similar in the next version
@Rokt33r commented on GitHub (Sep 1, 2020):
@dvkndn We can access a node's actual position in raw text. I've been slowly working on it. https://github.com/rehypejs/rehype-react/pull/22