JoelBesada / activate-power-mode

Atom package - Activate POWER MODE to write your code in style.
MIT License
3.59k stars 423 forks source link

HTMLElement.shadowRoot is deprecated. #317

Closed meiminjun closed 7 years ago

meiminjun commented 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.

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)
lexcast commented 7 years ago

Hi @meiminjun Activate power mode is not using the shadow DOM since v1.2.0 Try upgrading to the latest version.