Hi Vincent,
Vincent Massol wrote:
target is not a valid XHTML attribute and since we
generate valid
XHMTL we couldn't use it. The XHTML way is to use "rel" and have a
javascript that adds the bit to open the link in a new page.
I understand that target is not a valid xhtml attribute.
But I still don't get it. What has this to do with the generated xwiki
code? Why does the wysiwyg editor not generate the same xwiki code as
described in the Syntax?
Either both should have rel="__blank" or both should have
target="_blank"
Another example: When I use it the other way around:
1. I create the link in xwiki editor (with target="_blank")
2. then I switch to WYSYWIG editor and edit this link --> The WYSIWYG
editor loses the "Open link in new window" checkbox and I have to check
it again.
is it not working?
It is working fine. But it's confusing me. :)
Greetings
Reto