JunoLab / atom-ink

IDE toolkit for Atom
MIT License
228 stars 40 forks source link

TextEditor.editorElement is deprecated. #146

Closed AzamatB closed 6 years ago

AzamatB commented 6 years ago

TextEditor.prototype.editorElement has always been private, but now it is gone. Reading the editorElement property still returns a reference to the editor element but this field will be removed in a later version of Atom, so we recommend using the element property instead.

TextEditor.editorElement (<embedded>:2383:20)
_loop (/Users/Azamat/.atom/packages/ink/lib/editor/result.js:351:35)
listener (/Users/Azamat/.atom/packages/ink/lib/editor/result.js:362:22)
pfitzseb commented 6 years ago

Fixed on master.

minyoungrho commented 6 years ago

I have done Pkg.checkout("Atom"), and updated Atom to master. However, the depreciation warning sign has not gone away.

pfitzseb commented 6 years ago

On atom-ink master. Just wait for the next release and you should be good to go :)