From 8ffa565271931d81b9244c921c942011fdf3654c Mon Sep 17 00:00:00 2001
From: Ron Lucke <lucke@elan-ev.de>
Date: Wed, 22 Mar 2023 12:10:07 +0000
Subject: [PATCH] fix #2058

Closes #2058

Merge request studip/studip!1570
---
 resources/assets/javascripts/chunks/wysiwyg.js | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/resources/assets/javascripts/chunks/wysiwyg.js b/resources/assets/javascripts/chunks/wysiwyg.js
index e2ade1ef54c..4d53733e071 100644
--- a/resources/assets/javascripts/chunks/wysiwyg.js
+++ b/resources/assets/javascripts/chunks/wysiwyg.js
@@ -247,11 +247,7 @@ ClassicEditor.defaultConfig = {
         decorators: {
             addTargetToExternalLinks: {
                 mode: 'automatic',
-                callback: url => /^(https?:)?\/\//.test( url ),
-                attributes: {
-                    target: '_blank',
-                    rel: 'noopener noreferrer'
-                }
+                callback: url => /^(https?:)?\/\//.test( url )
             }
         }
     },
-- 
GitLab