Skip to content

Delete worked even when not focused on the canvas #12

Description

@harchcode

Currently, if we select a node, and then type on some input textbox anywhere on the page, and then we press the delete/backspace button, the selected node got deleted.

The delete button listener shouldn't be attached to the window, but should be attached to the canvas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions