Merge pull request #1302 from sharelatex/jel-cms-iframe-attr

Allow style attribute on iframes

GitOrigin-RevId: f6a88f544eab665fecc00b8c89e87d489f39b88d
This commit is contained in:
James Allen 2018-12-20 15:31:39 +00:00 committed by sharelatex
parent 7112e65dc5
commit 5a7f72c9f9

View file

@ -514,7 +514,7 @@ module.exports = settings =
'h6': [ 'class', 'id' ]
'figure': [ 'class', 'id', 'style']
'figcaption': [ 'class', 'id', 'style']
'iframe': [ 'allowfullscreen', 'frameborder', 'height', 'src', 'width' ]
'iframe': [ 'allowfullscreen', 'frameborder', 'height', 'src', 'style', 'width' ]
'img': [ 'alt', 'class', 'src', 'style' ]
'source': [ 'src', 'type' ]
'span': [ 'class', 'id', 'style' ]