puranjayjain/chrome-color-picker

atom-text-editor.Object.defineProperty.get is deprecated.

Opened this issue · 4 comments

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.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:68:18)
Object.toggle (/Users/reda.benmeradi/.atom/packages/chrome-color-picker/lib/chrome-color-picker.coffee:244:42)
atom-workspace.subscriptions.add.atom.commands.add.chrome-color-picker:toggle (/Users/reda.benmeradi/.atom/packages/chrome-color-picker/lib/chrome-color-picker.coffee:117:26)
CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29)
handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59)
CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:160:19)

Will get down to it asap

still getting the same error above hehe...

@donvodki sorry couldn't get time to fix the issue. Will have to re work the entire component if I get some time

Deprication Cop says: "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."