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
e6bf3b87
Commit
e6bf3b87
authored
Sep 12, 2022
by
Sergey
Browse files
add drag && drop
parent
d03ceb34
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/extensions/DragAndDrop.js
View file @
e6bf3b87
import
{
Extension
}
from
"
@tiptap/core
"
;
import
{
Plugin
,
PluginKey
}
from
'
prosemirror-state
'
import
axios
from
'
axios
'
import
fs
from
'
fs
'
function
dataURItoBlob
(
dataURI
)
{
let
mimeString
=
dataURI
.
split
(
'
,
'
)[
0
].
split
(
'
:
'
)[
1
].
split
(
'
;
'
)[
0
];
// тип пантомимы
...
...
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