Open zyutinjoeng 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/_m/8d0k9qb96xv6h0wbnvv6f7j80000gn/T/AppTranslocation/F19B598D-9A3D-4546-8B75-C65D1F0B13EA/d/Atom.app/Contents/Resources/app/src/text-editor-element.js:13:10) MarkdownScrlSync.getVisTopHgtBot (/Users/zyu/.atom/packages/markdown-scroll-sync/lib/utils.coffee:20:33) MarkdownScrlSync.setMap (/Users/zyu/.atom/packages/markdown-scroll-sync/lib/map.coffee:25:14) MarkdownScrlSync.startTracking (/Users/zyu/.atom/packages/markdown-scroll-sync/lib/main.coffee:75:12) <unknown> (/Users/zyu/.atom/packages/markdown-scroll-sync/lib/main.coffee:58:23) Workspace.observeActivePaneItem (<embedded>:26435: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.