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

Image hyperlink is not working without https:// #821

Closed
naganand123 opened this issue Apr 8, 2022 · 1 comment
Closed

Image hyperlink is not working without https:// #821

naganand123 opened this issue Apr 8, 2022 · 1 comment

Comments

@naganand123
Copy link

Jodit Version: 3.4.xxxxx

Browser:
OS:
Is React App:

Code

// if I add hyperlink with out https or http it not working
link is appeinding to the current url like this 'https://xfqokc.csb.app/www.google.com'.
How to append https to the url if URL not having the https

image

Expected behavior:
hyperlink should work if user missed to eneter https
Actual behavior:
hyperlink is not working if user missed to enter https

xdan added a commit that referenced this issue Apr 12, 2022
@xdan
Copy link
Owner

xdan commented Apr 12, 2022

it is not always possible to guess whether this is a local image image.jpg or a site like that https://image.com. Added a little heuristic.

@xdan xdan closed this as completed Jun 6, 2022
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

2 participants