When inserting web link, target is ignored (new window, same frame etc). You need to do it twice to get target what you selected. See below for an example, first was made by just adding web link to a new window (wich was ignored), second link was made by doing same thing twice to get target in. Bug or not?
link to a new window target, edited once
lint to a new window target, edited twice
mika
And again more info
- If textselection starts from the first character of a line (when clicking Add web link button) this unwanted behavior is triggered.
mika
- If textselection starts from the first character of a line (when clicking Add web link button) this unwanted behavior is triggered.
mika
Implementation vary between IE and Gecko based browsers, and when creating link (document.execCommand('createlink', false, href)) differences with these two browser brands is really big.
IE can read <a> -tags attributes right away and Gecko based browsers can't, thus these attributes need to be read afterwards. Unfortunately this isn't working as it should at the moment.
IE can read <a> -tags attributes right away and Gecko based browsers can't, thus these attributes need to be read afterwards. Unfortunately this isn't working as it should at the moment.