Issue #2590403 by Wim Leers: Remove "Open in new window" checkbox from EditorLinkDialog — Was: "Consider whitelisting <a>'s target attribute in the Standard install profile"

8.0.x
Nathaniel Catchpole 2015-11-02 11:53:36 +00:00
parent 400091537f
commit d32bac926a
1 changed files with 0 additions and 7 deletions

View File

@ -53,13 +53,6 @@ class EditorLinkDialog extends FormBase {
'#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',
);