Hello!
Is there a way to stop the HTML editor from adding "http://" in front of all the links created with the insert link button? I try to use relative links whenever possible on my site - especially while in development when the domain will change upon conversion to live.... and it's getting old having to manually type in the a href in source code view for every link-- not to mention, oftentimes making changes in the regular editor view will override my typed in a href and put the "http://" in front again, thus breaking all my links. And... I will be switching over to https once I go live-- so there's that as well. I just prefer relative links, and would like to use the insert link function like it was before in 1.5x. This is causing me so much extra grief and frustration.....
Also-- I'm using Journal 3 in case that changes anyone's response.
Thanks!
Amanda
Is there a way to stop the HTML editor from adding "http://" in front of all the links created with the insert link button? I try to use relative links whenever possible on my site - especially while in development when the domain will change upon conversion to live.... and it's getting old having to manually type in the a href in source code view for every link-- not to mention, oftentimes making changes in the regular editor view will override my typed in a href and put the "http://" in front again, thus breaking all my links. And... I will be switching over to https once I go live-- so there's that as well. I just prefer relative links, and would like to use the insert link function like it was before in 1.5x. This is causing me so much extra grief and frustration.....
Also-- I'm using Journal 3 in case that changes anyone's response.
Thanks!
Amanda
Thanks for the reply-- sorry, I didn't realize that the notifications aren't working on this forum, so I didn't realize someone had responded.
I tried commenting out those lines:
Code: Select all
$.each(anchors, function (idx, anchor) {
// if url doesn't match an URL schema, set http:// as default
//linkUrl = /^[A-Za-z][A-Za-z0-9+-.]*\:[\/\/]?/.test(linkUrl) ?
// linkUrl : 'http://' + linkUrl;
Thanks!
You may want to get in touch with the Journal support on this, because the so-called Journal themes are not following OpenCart standards, and they are commercial software not even available from the OpenCart marketplace. E.g. there should be no need to replace the OpenCart Summernote or other features which aren't relevant to a web theme.
If the standard 'summernote.js' is used in OpenCart 3.0.3.2, then it's just a matter of commenting out the lines 4344 and 4345, as explained by Girlinabillion.
If the standard 'summernote.js' is used in OpenCart 3.0.3.2, then it's just a matter of commenting out the lines 4344 and 4345, as explained by Girlinabillion.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I submitted a ticket to Journal, so we'll see what they come back with. Journal theme has its whole own admin panel setup and might be using their own html editor. Hard to say.JNeuhoff wrote: ↑Sun Dec 22, 2019 10:33 pmYou may want to get in touch with the Journal support on this, because the so-called Journal themes are not following OpenCart standards, and they are commercial software not even available from the OpenCart marketplace. E.g. there should be no need to replace the OpenCart Summernote or other features which aren't relevant to a web theme.
If the standard 'summernote.js' is used in OpenCart 3.0.3.2, then it's just a matter of commenting out the lines 4344 and 4345, as explained by Girlinabillion.
Thanks guys

Who is online
Users browsing this forum: No registered users and 22 guests