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

pasting a URL should replace selection with a link #48

Open
benrbray opened this issue May 3, 2023 · 0 comments
Open

pasting a URL should replace selection with a link #48

benrbray opened this issue May 3, 2023 · 0 comments
Labels
editor enhancement New feature or request

Comments

@benrbray
Copy link
Owner

benrbray commented May 3, 2023

Currently, links are added by pressing Ctrl+k, and a prompt appears. This prompt is taken from one of the prosemirror examples, and I'd like to delete it. Instead, pasting a URL should replace the current text selection with a link. Perhaps later the UI can be restored.

https://github.com/benrbray/noteworthy/blob/b5123afbfb7cb9bbcb4a59379aeb28d597837e8d/noteworthy-electron/src/common/prompt/prompt.ts

@benrbray benrbray added enhancement New feature or request editor labels May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant