Commit cea9c14b authored by alexpott's avatar alexpott

Issue #2589779 by Jelle_S, Wim Leers: Uncaught TypeError: Cannot set property...

Issue #2589779 by Jelle_S, Wim Leers: Uncaught TypeError: Cannot set property 'float' of undefined when switching text formats
parent ba11b094
......@@ -32,6 +32,7 @@
// Override requiredContent & allowedContent.
widgetDefinition.requiredContent = new CKEDITOR.style({
element: 'img',
styles: {},
attributes: {
'alt': '',
'src': '',
......@@ -43,6 +44,7 @@
});
var allowedContentDefinition = {
element: 'img',
styles: {},
attributes: {
'!data-entity-type': '',
'!data-entity-uuid': ''
......
......@@ -15,6 +15,7 @@
editor.addCommand('drupallink', {
allowedContent: new CKEDITOR.style({
element: 'a',
styles: {},
attributes: {
'!href': '',
'target': ''
......@@ -22,6 +23,7 @@
}),
requiredContent: new CKEDITOR.style({
element: 'a',
styles: {},
attributes: {
href: ''
}
......
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