Closed pingshunhuangalex closed 6 years ago
The contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. Please, stop using rootElement and access the editor contents directly instead.
atom-text-editor
rootElement
HTMLElement.rootElement (C:\Users\Pingshun Huang\AppData\Local\atom\app-1.19.0-beta0\resources\app\src\text-editor-element.js:23:10) LineNumberView._updateSync (C:\Users\Pingshun Huang\.atom\packages\relative-numbers\lib\line-number-view.coffee:101:50) _updateSync (C:\Users\Pingshun Huang\.atom\packages\relative-numbers\lib\line-number-view.coffee:3:59) <unknown> (C:\Users\Pingshun Huang\.atom\packages\relative-numbers\lib\line-number-view.coffee:83:26) ViewRegistry.performDocumentUpdate (<embedded>:20022:15) <unknown> (<embedded>:19838:65)
Still an issue in beta 4
Duplicate of #39 - fixed in 0.8.1.
The contents of
atom-text-editor
elements are no longer encapsulated within a shadow DOM boundary. Please, stop usingrootElement
and access the editor contents directly instead.