diff --git a/source/Ox.UI/css/Ox.UI.css b/source/Ox.UI/css/Ox.UI.css index 008ffda4..ca064745 100644 --- a/source/Ox.UI/css/Ox.UI.css +++ b/source/Ox.UI/css/Ox.UI.css @@ -971,6 +971,11 @@ OxEditableElement max-width: 100%; height: auto; } +.OxValue iframe, .OxEditableContent iframe { + border: none; + overflow: hidden; + max-width: 100%; +} /* -------------------------------------------------------------------------------- diff --git a/source/Ox/js/HTML.js b/source/Ox/js/HTML.js index f940e230..37354639 100644 --- a/source/Ox/js/HTML.js +++ b/source/Ox/js/HTML.js @@ -13,6 +13,8 @@ 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', // other 'a', 'br', 'img', 'figure', 'figcaption', + // + 'iframe', // special 'rtl', '[]' ], @@ -43,6 +45,20 @@ '' ] ], + iframe: [ + [ + /' + ] + ], rtl: [ [ //gi,