cqroot / joplin-outline

A markdown outline (TOC) sidebar plugin for Joplin.
MIT License
215 stars 16 forks source link

Click to jump only works in rich-text editor #42

Closed jerrylususu closed 3 years ago

jerrylususu commented 3 years ago

I am not sure if that's by design or I missed something, but it seems that if I click an item in the outline panel, I will be sent to some other location in the note, if I am using the raw editor mode. However, if I use the rich-text editor, the jump location works fine. Is there any way to fix this?

jerrylususu commented 3 years ago

A gif showing the issue: outline bug

cqroot commented 3 years ago

Currently, scrolling is achieved by sending the scrollToHash signal. scrollToHash is available in the markdown preview interface, but not in the editing interface

jerrylususu commented 3 years ago

I see. So basically it's impossible to scroll to correct location in editor mode now?

cqroot commented 3 years ago

Yes, scrollToHash is provided by joplin.

jerrylususu commented 3 years ago

Thanks for clarifying this. At this point I think there isn't much can be done.