Skip to content
Snippets Groups Projects
Commit cea9c14b authored by Alex Pott's avatar Alex Pott
Browse files

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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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: ''
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment