mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00
Updating the TinyMCE editor with some additional valid elements & attributes
--HG-- branch : dev
This commit is contained in:
@@ -17,7 +17,11 @@
|
||||
convert_urls: false,
|
||||
addmedia_action: "@Url.Action("AddFromClient", "Admin", new {area = "Orchard.Media"})",
|
||||
addmedia_path: "@Model.AddMediaPath",
|
||||
request_verification_token: "@Html.AntiForgeryTokenValueOrchard()"
|
||||
request_verification_token: "@Html.AntiForgeryTokenValueOrchard()",
|
||||
extended_valid_elements: "canvas[id|width|height],script[src|type]," +
|
||||
"object[classid|codebase|width|height|align|name|id],param[name|value],embed[quality|type|pluginspage|width|height|src|align]," +
|
||||
"iframe[src|frameborder|width|height|scrolling|name|id]," +
|
||||
"video[src|audio|autoplay|controls|width|height|loop|preload|poster],audio[src|autoplay|loop|controls|preload],source[id|src|type]"
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user