Skip to content

Commit

Permalink
Allowing Iframe src attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
MKHenson committed Oct 17, 2016
1 parent 102409b commit a14ad7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/models/schema-items/schema-html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ export class SchemaHtml extends SchemaItem<string> {
*/
public static defaultAllowedAttributes: { [ name: string ]: Array<string> } = {
a: [ 'href', 'name', 'target' ],
img: [ 'src' ]
img: [ 'src' ],
ifram: [ 'src' ]
};

public allowedTags: Array<string>;
Expand Down

0 comments on commit a14ad7e

Please sign in to comment.