vincentcn / markdown-scroll-sync

Auto-scroll markdown-preview tab to match markdown source
MIT License
95 stars 26 forks source link

HTMLElement.shadowRoot is deprecated. #177

Open danche354 opened 7 years ago

danche354 commented 7 years ago

The contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. Please, stop using shadowRoot and access the editor contents directly instead.

HTMLElement.shadowRoot (/private/var/folders/j8/gym65x8d3tn5wwx7bksjls7c0000gn/T/AppTranslocation/96031ABE-6656-4749-A4F4-B91A5E926E1B/d/Atom.app/Contents/Resources/app/src/text-editor-element.js:13:10)
MarkdownScrlSync.getVisTopHgtBot (/Users/pengzonghui/.atom/packages/markdown-scroll-sync/lib/utils.coffee:20:33)
MarkdownScrlSync.setMap (/Users/pengzonghui/.atom/packages/markdown-scroll-sync/lib/map.coffee:25:14)
MarkdownScrlSync.startTracking (/Users/pengzonghui/.atom/packages/markdown-scroll-sync/lib/main.coffee:75:12)
<unknown> (/Users/pengzonghui/.atom/packages/markdown-scroll-sync/lib/main.coffee:58:23)
Workspace.observeActivePaneItem (<embedded>:26410:13)
lucasvieites commented 7 years ago

duplicate of #94