Thank you very much for the detailed and exact information and explanation. This is it indeed!
I could help it now with changing the replace RegEx from:
[^:]*$
to:
^.*$
when the link starts with http. Now it doesn't search for all text after ":" and replaces it with nothing, but replaces the whole line.
So my line 262 in linkwiz.js looks now like:
if(dw_linkwiz.$entry.val().indexOf('http') == 0)
dw_linkwiz.$entry.val(dw_linkwiz.$entry.val().replace(/^.*$/, ''));
else
dw_linkwiz.$entry.val(dw_linkwiz.$entry.val().replace(/[^:]*$/, ''));
This works good.
I never use this witzard with internal links but always with external links.
There was before some other button for external links (as I understood) but this didnt work at all, not replacing my text with real internet links, only making some brackets around, that was all. So I kicked this out and always use now this internal link Button which can do external links as well.
Thank again, now the editing is a bit smoother :)
frank
EDIT: I did an
issue in the github