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

Markdown "Create Link": highlight URL instead of label #5585

Merged
merged 1 commit into from
Mar 1, 2021

Conversation

infinite-persistence
Copy link
Contributor

@infinite-persistence infinite-persistence commented Feb 26, 2021

Issue

Closes #4505: Highlight url instead of text when embedding a link

Too used to Github's editor behavior, so was annoyed at this too. It makes more sense to highlight the URL placeholder since that needs to be filled.

For to the unhighlighted case, then the cursor should be at the Label.

Changes

Until the upstream code decides to fix it (github::Ionaru/easy-markdown-editor/issues/85), we'll handle it ourself by listing to the 'changes' events.

## Issue
Closes 4505: Highlight url instead of text when embedding a link

_Too used to Github's editor behavior, so was annoyed at this too. It makes more sense to highlight the URL placeholder since that needs to be filled._

For to the unhighlighted case, then the cursor should be at the Label.

## Changes
Until the upstream code decides to fix it (`github::Ionaru/easy-markdown-editor/issues/85`), we'll handle it ourself by listing to the 'changes' events.
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

Successfully merging this pull request may close these issues.

Highlight url instead of text when embedding a link
2 participants