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. #737

Open ronaldpetty opened 6 years ago

ronaldpetty commented 6 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 (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:13:10)
MarkdownScrlSync.getVisTopHgtBot (/Users/ronald.petty/.atom/packages/markdown-scroll-sync/lib/utils.coffee:20:34)
MarkdownScrlSync.setMap (/Users/ronald.petty/.atom/packages/markdown-scroll-sync/lib/map.coffee:25:14)
MarkdownScrlSync.startTracking (/Users/ronald.petty/.atom/packages/markdown-scroll-sync/lib/main.coffee:75:12)
<unknown> (/Users/ronald.petty/.atom/packages/markdown-scroll-sync/lib/main.coffee:58:23)
Function.module.exports.Emitter.simpleDispatch (<embedded>:68495:20)
ronaldpetty commented 6 years ago

Just started using, love it! Great work.

zalloy commented 6 years ago

I'm getting the same error on my end too. Thought I'd check before I created a new issue for it though, to be sure whether someone else already had. I think everyone using this Atom package is getting the same error.....

This package comes in immensely handy for me, as I tend to use Atom a lot for editing markdown.

managedkaos commented 6 years ago

+1 Same error. Love the plug in! :D

leeeco610 commented 6 years ago

+1 Same error.

justinhartman commented 6 years ago

Same error - macOS 10.13.6 on Atom 1.30.0 x64