Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
lib
react-ag-qeditor
Commits
5ae6a4ad
Commit
5ae6a4ad
authored
May 29, 2025
by
Яков
Browse files
fix upload mp4
parent
995d0c68
Changes
2
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
5ae6a4ad
{
{
"name"
:
"react-ag-qeditor"
,
"name"
:
"react-ag-qeditor"
,
"version"
:
"1.0.8
1
"
,
"version"
:
"1.0.8
2
"
,
"description"
:
"WYSIWYG html editor"
,
"description"
:
"WYSIWYG html editor"
,
"author"
:
"atma"
,
"author"
:
"atma"
,
"license"
:
"
MIT
"
,
"license"
:
"
MIT
"
,
...
...
src/QEditor.jsx
View file @
5ae6a4ad
...
@@ -657,7 +657,7 @@ const QEditor = ({
...
@@ -657,7 +657,7 @@ const QEditor = ({
</
Fragment
>
</
Fragment
>
)
)
case
'
video
'
:
case
'
video
'
:
return
<
Fragment
>
{
getUploader
({
accept
:
'
video/
*
'
})
}
</
Fragment
>
return
<
Fragment
>
{
getUploader
({
accept
:
'
video/
mp4,.mp4
'
})
}
</
Fragment
>
case
'
image
'
:
case
'
image
'
:
return
<
Fragment
>
{
getUploader
({
accept
:
'
image/*
'
})
}
</
Fragment
>
return
<
Fragment
>
{
getUploader
({
accept
:
'
image/*
'
})
}
</
Fragment
>
case
'
file
'
:
case
'
file
'
:
...
...
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