Commit ff9845ae authored by catch's avatar catch
Browse files

Issue #2608722 by DuaelFr: Follow-up for #2590403: Remove forgotten references...

Issue #2608722 by DuaelFr: Follow-up for #2590403: Remove forgotten references to the target attribute in the drupallink CKEditor plugin
parent b59c94a4
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -16,8 +16,7 @@
        allowedContent: {
          a: {
            attributes: {
              '!href': true,
              'target': true
              '!href': true
            },
            classes: {}
          }
@@ -97,11 +96,6 @@
                range.selectNodeContents(text);
              }

              // Ignore a disabled target attribute.
              if (returnValues.attributes.target === 0) {
                delete returnValues.attributes.target;
              }

              // Create the new link by applying a style to the new text.
              var style = new CKEDITOR.style({element: 'a', attributes: returnValues.attributes});
              style.type = CKEDITOR.STYLE_INLINE;
@@ -150,8 +144,7 @@
        allowedContent: {
          a: {
            attributes: {
              '!href': true,
              'target': true
              '!href': true
            }
          }
        },