Skip to content

bug with adding a link #522

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

Open
olha-s opened this issue Jan 17, 2024 · 2 comments
Open

bug with adding a link #522

olha-s opened this issue Jan 17, 2024 · 2 comments
Labels
bug Something isn't working prio:mid Medium priority

Comments

@olha-s
Copy link

olha-s commented Jan 17, 2024

If add a link without https://, then the current domain will be added to the link.
For example, if you add a link to www.blocknotejs.org/, then the current domain will appear at the beginning, and it will look like this https://www.blocknotejs.org/www.blocknotejs.org/.
If you add from https://, that is, https://www.blocknotejs.org/, then everything works correctly.

The bug can be reproduced here https://www.blocknotejs.org/

I assume that there should be a check for added link and if the link does not contain https://, then only https:// should be added to the link

@olha-s olha-s added the bug Something isn't working label Jan 17, 2024
@matthewlipski matthewlipski added the prio:mid Medium priority label Jan 18, 2024
@nickGaooooooooooo
Copy link

I believe this is a serious issue. When using the BlockNote editor in this project, the editor typically handles a document, and users usually don't write "https://" while editing the document. For example, they would write "www.google.com.hk/" instead of "https://www.google.com.hk/". However, the current BlockNote only directs to the full link when "https://" is added, which goes against the long-standing habits of many users.

@Blapi
Copy link

Blapi commented Nov 25, 2024

Any update on this one? Is there a way to configure it ourselves?
I face the same issue where I'd love to be able to prepend a protocol so that users don't have to input https://

@Blapi Blapi mentioned this issue Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prio:mid Medium priority
Projects
None yet
Development

No branches or pull requests

4 participants