Closed meiminjun closed 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/rm/57_g6f0s1mgf8g1fvynyk0pc0000gn/T/AppTranslocation/FAA81D0A-6BBA-43B3-9288-9DE1D6EB541F/d/Atom.app/Contents/Resources/app/src/text-editor-element.js:13:10) Object.setupCanvas (/Users/larben/.atom/packages/activate-power-mode/lib/power-canvas.coffee:36:28) Object.prepareEditor (/Users/larben/.atom/packages/activate-power-mode/lib/power-editor.coffee:85:24) Object.subscribeToActiveTextEditor (/Users/larben/.atom/packages/activate-power-mode/lib/power-editor.coffee:67:19) <unknown> (/Users/larben/.atom/packages/activate-power-mode/lib/power-editor.coffee:29:24) Function.module.exports.Emitter.simpleDispatch (<embedded>:63943:20)
Hi @meiminjun Activate power mode is not using the shadow DOM since v1.2.0 Try upgrading to the latest version.
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.