From d32bac926ae09d6bf06a3f02cc6a0e3722726392 Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org> Date: Mon, 2 Nov 2015 11:53:36 +0000 Subject: [PATCH] =?UTF-8?q?Issue=20#2590403=20by=20Wim=20Leers:=20Remove?= =?UTF-8?q?=20"Open=20in=20new=20window"=20checkbox=20from=20EditorLinkDia?= =?UTF-8?q?log=20=E2=80=94=20Was:=20"Consider=20whitelisting=20<a>'s=20tar?= =?UTF-8?q?get=20attribute=20in=20the=20Standard=20install=20profile"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/modules/editor/src/Form/EditorLinkDialog.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/modules/editor/src/Form/EditorLinkDialog.php b/core/modules/editor/src/Form/EditorLinkDialog.php index c5763894da05..160c0c95683e 100644 --- a/core/modules/editor/src/Form/EditorLinkDialog.php +++ b/core/modules/editor/src/Form/EditorLinkDialog.php @@ -53,13 +53,6 @@ public function buildForm(array $form, FormStateInterface $form_state, FilterFor '#maxlength' => 2048, ); - $form['attributes']['target'] = array( - '#title' => $this->t('Open in new window'), - '#type' => 'checkbox', - '#default_value' => !empty($input['target']), - '#return_value' => '_blank', - ); - $form['actions'] = array( '#type' => 'actions', ); -- GitLab