Skip to content

Commit 9520b45

Browse files
thommyhhCybotTM
authored andcommitted
[BUGFIX] Allow style attribute on img tags
1 parent ed8ab7c commit 9520b45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Resources/Public/JavaScript/Plugins/typo3image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@
294294
var dialogInfo = dialog.get(),
295295
filteredAttr = {},
296296
allowedAttributes = [
297-
'!src', 'alt', 'title', 'class', 'rel', 'width', 'height', 'data-htmlarea-zoom', 'data-title-override', 'data-alt-override'
297+
'!src', 'alt', 'title', 'class', 'rel', 'width', 'height', 'style', 'data-htmlarea-zoom', 'data-title-override', 'data-alt-override'
298298
],
299299
additionalAttributes = getAdditionalAttributes(editor),
300300
attributesNew = $.extend({}, img, dialogInfo);

0 commit comments

Comments
 (0)