Open danche354 opened 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.
atom-text-editor
shadowRoot
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)
duplicate of #94
The contents of
atom-text-editor
elements are no longer encapsulated within a shadow DOM boundary. Please, stop usingshadowRoot
and access the editor contents directly instead.