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

Fill image and link prompts to 'https://' by default #62

Merged
merged 2 commits into from
Feb 28, 2019

Conversation

roipoussiere
Copy link

When promptURLs is set to true, fill image and link prompts to 'https://' by default, like this:

image

  • it's easier to fill an url if we know it, because we don't have to type 'https://';
  • it helps users to understand that something starting with https:// should be usually filled in the pop-up;
  • if the user click Ok without filling nothing, this inserts [](https://) / ![](https://), so the default behavior is consistent with promptURLs=false, which inserts these values;
  • this doesn't bother the user, because he can copy-paste url like before;

@Ionaru Ionaru merged commit 1158ef1 into Ionaru:master Feb 28, 2019
@roipoussiere roipoussiere deleted the prompt_with_https branch February 28, 2019 15:26
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.

None yet

2 participants