ozntel / oz-image-in-editor-obsidian

This Obsidian plugin to view Images, Transclusions, iFrames and PDF Files within the Editor without a necessity to switch to Preview.
339 stars 13 forks source link

Realtime updating head preview and block preview #69

Closed Connor-yang96 closed 3 years ago

Connor-yang96 commented 3 years ago

HCgnR4g0mc

ozntel commented 3 years ago

Editor is a little bit different than the pure HTML or preview mode. Each refresh will cause your cursor to move somewhere else or even scroll up a little since it needs to remove all widget and add from scratch. That's the reason why updating the rendered blocks wouldn't be ideal for user experience and I removed specifically. Hope this helps.