Configure more protocols for the Rich Text Link dialog box

Issue

The Rich Text widget in CQ5 does not allow links other than http://, ftp://, and mailto://.

Solution

In your component dialog configuration, create a node/property structure similar to the following. (See the sample crx app attached below.)
*text  cq:Widget
  name name String ./text 
  xtype xtype String richtext 
  hideLabel hideLabel Boolean true 
  *linkbrowseConfig linkbrowseConfig nt:unstructured  
    protocols String[] ['file://']


        

Hämta

Additional information

This feature is configurable feature in the Rich Text widget. You can configure the linkbrowseConfig.protocols property in the extjs config object as an array of strings like http://, ftp://, file://, news://, and tel:.

 Adobe

Få hjälp snabbare och enklare

Ny användare?

Adobe MAX 2024

Adobe MAX
Kreativitetskonferensen

14–16 okt i Miami Beach och online

Adobe MAX

Kreativitetskonferensen

14–16 okt i Miami Beach och online

Adobe MAX 2024

Adobe MAX
Kreativitetskonferensen

14–16 okt i Miami Beach och online

Adobe MAX

Kreativitetskonferensen

14–16 okt i Miami Beach och online