Commit ff9845ae authored by catch's avatar catch

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
......@@ -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
}
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment