Open XuCcc 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 (C:\Users\xu\AppData\Local\atom\app-1.20.1\resources\app\src\text-editor-element.js:13:10) MarkdownScrlSync.getVisTopHgtBot (C:\Users\xu\.atom\packages\markdown-scroll-sync\lib\utils.coffee:20:33) MarkdownScrlSync.setMap (C:\Users\xu\.atom\packages\markdown-scroll-sync\lib\map.coffee:25:14) MarkdownScrlSync.startTracking (C:\Users\xu\.atom\packages\markdown-scroll-sync\lib\main.coffee:75:12) <unknown> (C:\Users\xu\.atom\packages\markdown-scroll-sync\lib\main.coffee:58:23) Function.module.exports.Emitter.simpleDispatch (<embedded>:63955:20)
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.