[CKEditor] Target tab for links

[CKEditor] Target tab for links

  
Forge Component
(13)
Published on 19 Feb by Carlos Henriques
13 votes
Published on 19 Feb by Carlos Henriques

Hello,



When i insert a link using CKEditor, i would like to chose it will open in a new tab.

Normally in CKEditor there is a 'target' menu available. But in this version it isn't...

Any ideas how to solve this?

can't you do something with:

https://www.outsystems.com/forums/discussion/13128/config/#Post47813


no clue what the option will be, though :(


Hi, did anyone find a solution to this? I've tried changing the settings in the config javascript in the CKEditor webblock to :


CKEDITOR.config.linkShowAdvancedTab = true;
CKEDITOR.config.linkShowTargetTab = true;


but this does not seem to work.

Chris Howland wrote:

Hi, did anyone find a solution to this? I've tried changing the settings in the config javascript in the CKEditor webblock to :


CKEDITOR.config.linkShowAdvancedTab = true;
CKEDITOR.config.linkShowTargetTab = true;


but this does not seem to work.

Hi Chris,


You must also remove this 2 lines of code:


SyntaxEditor Code Snippet

dialogDefinition.removeContents( 'target' );
dialogDefinition.removeContents( 'advanced' );   


Or, you can upgrade to the new version (4.6.0), where by default this tabs are visible.