Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Steps to Reproduce
Expected behavior:
Actual behavior:
Versions
Atom: 1.60.0 x64
Electron: 9.4.4
OS: Microsoft Windows 10 Enterprise
Thrown From: html-include-resource package 1.3.0
Stack Trace
Uncaught TypeError: editor.getLastSelection is not a function
At C:\Users\Rayyan Tech\.atom\packages\html-include-resource\lib\html-include-resource.coffee:13
TypeError: editor.getLastSelection is not a function
at Object.include (/packages/html-include-resource/lib/html-include-resource.coffee:13:24)
at /packages/html-include-resource/lib/html-include-resource.coffee:8:78)
at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:352694)
at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:351169)
at AtomEnvironment.dispatchContextMenuCommand (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:1:833477)
at EventEmitter.t (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:1:841531)
at EventEmitter.emit (events.js:223:5)
at Object.onMessage (electron/js2c/renderer_init.js:115:818)
Prerequisites
Description
Steps to Reproduce
Expected behavior:
Actual behavior:
Versions
Atom: 1.60.0 x64 Electron: 9.4.4 OS: Microsoft Windows 10 Enterprise Thrown From: html-include-resource package 1.3.0
Stack Trace
Uncaught TypeError: editor.getLastSelection is not a function
Commands
Non-Core Packages
Additional Information