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

Improve editor loop / allow dropping straight into the editor #280

Open
aJanuary opened this issue Nov 21, 2024 · 0 comments
Open

Improve editor loop / allow dropping straight into the editor #280

aJanuary opened this issue Nov 21, 2024 · 0 comments

Comments

@aJanuary
Copy link

Is your feature request related to a problem? Please describe.
I have a workflow where I drop the user into an editor, then show a rendered preview when they exit, and ask them if they want to write that to the default location, pick where they write it, or edit the text.

This sort of workflow isn't really possible with the current editor implementation. This means I have to build it myself.

Describe the solution you'd like
The ideal for me would be if the editor could show a rendered preview before asking if they want to edit it.

However, in the absence of that, just being able to use Inquire to drop them straight into the editor would be really useful. Currently I have to write all the code to write the temporary file, pick the appropriate editor, read back from the temporary file, and handle errors myself. However, I know all of that code exists inside the editor, so it would be nice to be able to just reuse that.

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