Updated: Comment #0

Problem/Motivation

The target attribute is set to "0" when creating a link without checking the "Open in new window" checkbox. It should not be set at all when that checkbox is unchecked.

This is only a problem when inserting a link, not when editing a link.

Proposed resolution

When the value is "0", don't set the target attribute at all.

Remaining tasks

None.

User interface changes

None.

API changes

None.

#1879120: Use Drupal-specific image and link plugins — use core dialogs rather than CKEditor dialogs, containing alterable Drupal forms

Files: 
CommentFileSizeAuthor
#1 a_target_attribute-2093077-1.patch897 bytesWim Leers
PASSED: [[SimpleTest]]: [MySQL] 59,525 pass(es).
[ View ]

Comments

Status:Active» Reviewed & tested by the community
Issue tags:+quickfix
StatusFileSize
new897 bytes
PASSED: [[SimpleTest]]: [MySQL] 59,525 pass(es).
[ View ]

Trivial fix.

RTBC++

Status:Reviewed & tested by the community» Fixed

Committed and pushed to 8.x. Thanks!

Issue tags:-sprint

Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.