Commit 99044bfb by Urvil Shah

Add the Video Support as well.

parent da366de8
Pipeline #7198 passed with stages
in 23 minutes 35 seconds
......@@ -12,10 +12,14 @@
<link rel="stylesheet" href="~/Content/panes.css" />
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.7.6/js/plugins/paragraph_style.min.js" type="text/javascript"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.7.6/js/plugins/video.min.js" type="text/javascript" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.7.6/js/plugins/inline_style.min.js" type="text/javascript"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.7.6/js/third_party/image_aviary.min.js" type="text/javascript"/>
<link rel="stylesheet" href="../css/plugins/table.min.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.7.6/css/plugins/image.css" rel="stylesheet" type="text/css" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.7.6/css/plugins/video.css" rel="stylesheet" type="text/css" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.7.6/css/plugins/video.min.css" rel="stylesheet" type="text/css" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.7.6/css/plugins/image_manager.css" rel="stylesheet" type="text/css" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.7.6/css/plugins/image_manager.min.css" rel="stylesheet" type="text/css" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.7.6/css/plugins/image.min.css" rel="stylesheet" type="text/css" />
......@@ -223,13 +227,14 @@
$.get("/Template/S3Signature", {})
.done(function (data) {
$('#FroalaHtmlEditor').froalaEditor({
key:'ukkyeD-11aB1gF-7C3uvxrpxB2G-7ol==',
key: 'ukkyeD-11aB1gF-7C3uvxrpxB2G-7ol==',
htmlRemoveTags: [''],
htmlAllowedAttrs: ['.*'],
heightMin:800,
htmlAllowedTags:['.*'],
htmlAllowedTags: ['.*'],
htmlAllowComments: false,
toolbarInline: false,
videoUploadToS3: data,
imageUploadToS3: data
})
});
......@@ -240,6 +245,7 @@
{
Content = $('#FroalaHtmlEditor').froalaEditor('codeView.get');
}
var EmailId = document.getElementById("EmailId").value;
var key = document.getElementById("KeyValue").value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment