aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2023-03-22 12:32:08 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2023-03-22 12:32:08 +0000
commit6410ecf83d0a5c93a81e91e7a96f80d76dd3f026 (patch)
treee1945efd3e30210e35c7fb32b970dbe31766173d /resources
parentd79463e9605fcb1bef250ab3e9cf717227fe04ed (diff)
remove addTargetToExternalLinks decorator, fixes #2058
Closes #2058 Merge request studip/studip!1612
Diffstat (limited to 'resources')
-rw-r--r--resources/assets/javascripts/chunks/wysiwyg.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/resources/assets/javascripts/chunks/wysiwyg.js b/resources/assets/javascripts/chunks/wysiwyg.js
index 4d53733..cae716e 100644
--- a/resources/assets/javascripts/chunks/wysiwyg.js
+++ b/resources/assets/javascripts/chunks/wysiwyg.js
@@ -244,12 +244,6 @@ ClassicEditor.defaultConfig = {
},
link: {
defaultProtocol: 'https://',
- decorators: {
- addTargetToExternalLinks: {
- mode: 'automatic',
- callback: url => /^(https?:)?\/\//.test( url )
- }
- }
},
language: 'de',
htmlSupport: {