Link dialog

Is this possible? In the editor, if the user choose to open a link in a new window I want to auto insert a small icon after the selected text. /Tomas
May 12, 2005 11:39
If you want to automatically insert an image after a link-text, you can do this by adding an background image in the appropiate CSS class.
May 13, 2005 7:55
Yes, but how can the css file now if the link has a target to a new window (_blank) or to the same window? /Tomas
May 13, 2005 12:48
This is probably a little over-complex, but you could use the validation 'hook' as described in to check the property (looking for "target=_blank" and apply a style manually. We've done something similar to enforce W3C HTML compliance. The main drawback is that you're manually updating the HTML code.
May 13, 2005 17:26
I found the solution in the javascript function "CreateURL" located in the file "LinkEditor.js"
May 17, 2005 13:17
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.