chatgpt-md icon indicating copy to clipboard operation
chatgpt-md copied to clipboard

`Create new chat from template` does not work everywhere

Open lukemt opened this issue 2 years ago • 2 comments

The Create new chat from template command does not show up when the welcome page or canvas is open. It only seems to appear inside of markdown files.

Steps to reproduce:

  • Open a new Tab
  • Welcome page appears
  • Try to invoke the command

lukemt avatar Apr 08 '23 16:04 lukemt

I agree, it is caused by editorCallback which exists in arbitrary places in the code. It may be a small change, but I'd have to test it doesn't break anything downstream. Thank you for the PR btw!!! :)

bramses avatar Apr 14 '23 20:04 bramses

Sure thing! Yes do that, I already tested it though

lukemt avatar Apr 14 '23 21:04 lukemt