-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Resolve #4556 - Fix: add protocol automatically #4566
Resolve #4556 - Fix: add protocol automatically #4566
Conversation
@diemendesign PR created. Please review this PR at your convenience. |
I'll also add your changes to the Skunkworks repository, if all good, then I'll merge. |
Add PR from main repository. summernote/summernote#4566
Thanks for your contribution, looks good, I've also added it to the Skunkworks repository. |
@diemendesign Thank you for the review! How should I apply these revisions to my project? (It seems they are not yet reflected on summernote.org.) |
No, they won't be, you'll need to build the project, which I'm guessing you would have to test your changes before submitting your PR's? |
@diemendesign I apologize for any confusion. There might be a misunderstanding. The changes work well in my local environment. However, for my project, I have installed Summernote via npm, but the latest version on npm is only updated until 2021. To incorporate these changes, should I clone the repository, rebuild it (updating the dist directory), and then publish it as an npm package before integrating it into my project? If there are any alternative methods, I would be grateful if you could inform me. |
Ah, sorry, I had a feeling that may have been why you were asking. Also, out of curiosity, can you try something for me please? I;m not sure if something is interfering with this, but when adding a link the first time, the url (or href) isn't added to the editing area, but the element is, along with the "Text to Display". If I then edit the link via the popup, add the URL, it's then added. I just wanted to check with you, that a bug hasn't crept in, or if there's something interfering my end. I should mention though, that the Skunkworks version that I'm using, also has an option for adding a list of links that can be selected from a dropdown, that populates the other fields. I've tried disabling that, and the issue still persists. |
Upon further inspection, it's not the list links option interfering with the link (or rather the adding of the href) that's the issue, something else is going on. Requires more investigation, sigh 1 step forward, 5 steps back, lol. Oh, I also checked if it was because testing locally I was using http rather than https, FYI, it makes no difference. |
@diemendesign I've applied this patch in my local environment and project, and it appears to function correctly. Would you confirm if there are any issues when this is tested with the Summernote repository? There might be some interference specifically with the Skunkworks version. |
In the Skunkworks repo I added this summernote/skunkworks@59ff12e#diff-99e04083a94e9e7915aa04146bce214b2b8d7f47af05ed42000aff010f1ed3a7R161 to get it to work. |
What does this PR do?
What are the relevant tickets?
#4556
Video (if for frontend)
http protocol
2023-12-20.13.31.35.mov
2023-12-20.13.28.04.mov
2023-12-20.13.27.07.mov
2023-12-20.13.26.07.mov
mailto protocol
2023-12-20.13.31.03.mov
tel protocol
2023-12-20.13.30.18.mov
Checklist