Can't add iframe to paragraph - iframe is stripped for attributes I have a problem with adding an iframe to a paragraph.

In Text formats and editors, I have checked "Limit allowed HTML-tags" and then added &lt;iframe&gt; to allowed tags.

But when adding an iframe tag with attributes to the CKEditor, all attributes are removed and only the tag is remaining. 

When I uncheck "Limit allowed HTML-tags", the iframe is shown as expected but I do want to restrict HTML tags. 

Is this a bug or am I adding the tag wrong?
If this is your output:

&lt;p&gt;&lt;iframe&gt;&lt;/iframe&gt;&lt;/p&gt;


It's likely you need to specify the allowed attributes as well under Limit allowed HTML-tags. e.g.

&lt;iframe width height src etc&gt;