Skip to content

Empty browser window/tab is left after opening __open-in-editor link from JS console/terminal. #89

@Leftium

Description

@Leftium

A side effect of opening an __open-in-editor link from the terminal/console is an empty browser window is left opened.

To reproduce:

  1. Start vite dev server on port 5173
  2. Paste http://localhost:5173/__open-in-editor?file=/ into browser JS console.
  3. Click resulting link.

May also echo link to terminal and CTRL+click the link.

Work-around:

Context:

I wrote a utility function that outputs the __open-in-editor link for the file it was called from.

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions