Skip to content

Commit 0f92d71

Browse files
committed
Merge pull request BlogEngine#72 from jmalarcon/AllowScriptsIntextWidget
Add support for scripts in the TextBox widget
2 parents 4321c7e + afb2a04 commit 0f92d71

File tree

1 file changed

+2
-1
lines changed
  • BlogEngine/BlogEngine.NET/Custom/Widgets/TextBox

1 file changed

+2
-1
lines changed

BlogEngine/BlogEngine.NET/Custom/Widgets/TextBox/edit.cshtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
relative_urls: false,
4646
browser_spellcheck: true,
4747
paste_data_images: true,
48-
encoding: 'xml'
48+
encoding: 'xml',
49+
extended_valid_elements: 'iframe[src|style|width|height|scrolling|marginwidth|marginheight|frameborder],script[src|type|async]'
4950
});
5051
</script>
5152
</head>

0 commit comments

Comments
 (0)