Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Urvil Shah
/
MobEasyEditor
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
99044bfb
authored
Mar 29, 2018
by
Urvil Shah
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Add the Video Support as well.
parent
da366de8
Pipeline
#7198
passed with stages
in 23 minutes 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
Mobile.Search.Web/Views/Template/FroalaIndex.cshtml
Mobile.Search.Web/Views/Template/FroalaIndex.cshtml
View file @
99044bfb
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment