volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

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
#12279
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.
#13962
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
#13963
May 13, 2005 12:48
This is probably a little over-complex, but you could use the validation 'hook' as described in http://www.episerver.com/templates/CommunitySample____2630.aspx 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.
#13964
May 13, 2005 17:26
I found the solution in the javascript function "CreateURL" located in the file "LinkEditor.js"
#13965
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.