Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'getSelectedText' of undefined #2

Open
1 task
Mewoe opened this issue Sep 7, 2022 · 0 comments
Open
1 task

Comments

@Mewoe
Copy link

Mewoe commented Sep 7, 2022

Prerequisites

Description

Steps to Reproduce

Expected behavior:

Actual behavior:

Versions

Atom: 1.60.0 x64
Electron: 9.4.4
OS: Microsoft Windows 11 Pro
Thrown From: web-developer-tools package 0.4.0

Stack Trace

Uncaught TypeError: Cannot read property 'getSelectedText' of undefined

At C:\Users\thail\.atom\packages\web-developer-tools\lib\web-tools.js:184

TypeError: Cannot read property 'getSelectedText' of undefined
    at Object.init (/packages/web-developer-tools/lib/web-tools.js:184:28)
    at Object.insert (/packages/web-developer-tools/lib/web-tools.js:474:31)
    at HTMLElement.webToolsHtmlInsert (/packages/web-developer-tools/lib/web-tools.js:147:43)
    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.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:1:833412)
    at EventEmitter.t (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:1:841383)
    at EventEmitter.emit (events.js:223:5)
    at Object.onMessage (electron/js2c/renderer_init.js:115:818)

Commands

  6x -9:25.1.0 core:backspace (input.hidden-input)
  2x -8:50.9.0 core:paste (input.hidden-input)
     -0:05.7.0 web-tools:html:insert (div.tool-panel.tree-view)

Non-Core Packages

web-developer-tools 0.4.0 

Additional Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant