Skip to content
Snippets Groups Projects
Commit 8ffa5652 authored by Ron Lucke's avatar Ron Lucke Committed by David Siegfried
Browse files

fix #2058

Closes #2058

Merge request studip/studip!1570
parent 4f02550a
No related branches found
No related tags found
No related merge requests found
...@@ -247,11 +247,7 @@ ClassicEditor.defaultConfig = { ...@@ -247,11 +247,7 @@ ClassicEditor.defaultConfig = {
decorators: { decorators: {
addTargetToExternalLinks: { addTargetToExternalLinks: {
mode: 'automatic', mode: 'automatic',
callback: url => /^(https?:)?\/\//.test( url ), callback: url => /^(https?:)?\/\//.test( url )
attributes: {
target: '_blank',
rel: 'noopener noreferrer'
}
} }
} }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment