- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2020 03:26 AM
I have requirement as follows:
While creating knowledge article, when inserting or modifying the link in article body the value of "Target" on the Popup should be set to New Window by default.
Is it possible to do so? Please suggest possible ways if any.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2020 04:25 AM
Hello Yash,
Please follow below steps :
1) Navigate to the UI Page search record with name "html_insert_link_dialog" .
2) On the HTML field of this record scroll to around line where it says:
<g2:ui_select_option text="${gs.getMessage('None (use implicit)')}" value="" selected="$[jvar_selected_target]" />
3) Change the value attribute of the line from:
value="" to value="_self"
*Value of empty and value of _self are the same. The reason why we're doing this is so the system will not default to this option. It will always default to an option that has value=""
4) Now pick any other option that you want to be the new default and move this to the top, replacing the position that "None (use implicit)" previously occupied. It should look like this:
5) Save the change and now when using the Insert/Modify Link functionality, it should now default to Target: 'New window (_blank)' (assuming this was the option you've selected to be the default)
Regards,
Tushar
DXSherpa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2020 04:25 AM
Hello Yash,
Please follow below steps :
1) Navigate to the UI Page search record with name "html_insert_link_dialog" .
2) On the HTML field of this record scroll to around line where it says:
<g2:ui_select_option text="${gs.getMessage('None (use implicit)')}" value="" selected="$[jvar_selected_target]" />
3) Change the value attribute of the line from:
value="" to value="_self"
*Value of empty and value of _self are the same. The reason why we're doing this is so the system will not default to this option. It will always default to an option that has value=""
4) Now pick any other option that you want to be the new default and move this to the top, replacing the position that "None (use implicit)" previously occupied. It should look like this:
5) Save the change and now when using the Insert/Modify Link functionality, it should now default to Target: 'New window (_blank)' (assuming this was the option you've selected to be the default)
Regards,
Tushar
DXSherpa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2020 05:42 AM
Thanks Tushar.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2022 09:32 AM
I couldn't get this to work. I'm using Tokyo where it seems like the WYSIWYG editor is different now. Has anyone found a solution for this in Tokyo?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2023 05:43 AM - edited 06-23-2023 06:08 AM
Hi, I found the following system property in Utah:
glide.ui.html.editor.default_link_target
which governs the new WYSIWYG editor, you just need to set the value to whichever you would like it to default to and you're done!