Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions