Skip to content

Commit

Permalink
Merge pull request #824 from ahasnawi/iframe-allow
Browse files Browse the repository at this point in the history
Allow iframe element attributes in wysiwyg
  • Loading branch information
bkalaldeh authored Oct 29, 2024
2 parents a6e4846 + 1734ed8 commit 63871fc
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions pluginTester/scripts/framework/app.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pluginTester/scripts/framework/web.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/_bundles/buildfire_lightcarousel.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion scripts/_bundles/buildfire_lightcarousel.min.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/buildfire.js
Original file line number Diff line number Diff line change
Expand Up @@ -4790,7 +4790,7 @@ var buildfire = {
let extended_valid_elements = '';
// These are the elements that we want to support all of their attributes in tinymce (custom attributes in addition to the non-custom attribute)
const supportedElement = ['a','article','aside','audio','button','code','details','div','textarea','fieldset','form',
'h1','h2','h3','h4','h5','h6','input','img','li','ol','ul','option','p','section','select','span','table','tr'];
'h1','h2','h3','h4','h5','h6','input','img','li','ol','ul','option','p','section','select','span','table','tr','iframe'];
supportedElement.forEach((element, index) => {
extended_valid_elements += `${element}[*]`;
if (index != supportedElement.length - 1) extended_valid_elements += ',';
Expand Down
2 changes: 1 addition & 1 deletion scripts/buildfire.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/buildfire.min.js.map

Large diffs are not rendered by default.

0 comments on commit 63871fc

Please sign in to comment.