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
d0995235
Commit
d0995235
authored
May 14, 2025
by
Яков
Browse files
try fix
parent
25d5b0f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
d0995235
{
{
"name"
:
"react-ag-qeditor"
,
"name"
:
"react-ag-qeditor"
,
"version"
:
"1.0.7
4
"
,
"version"
:
"1.0.7
5
"
,
"description"
:
"WYSIWYG html editor"
,
"description"
:
"WYSIWYG html editor"
,
"author"
:
"atma"
,
"author"
:
"atma"
,
"license"
:
"
MIT
"
,
"license"
:
"
MIT
"
,
...
...
src/extensions/DragAndDrop.js
View file @
d0995235
...
@@ -17,7 +17,7 @@ const DragAndDrop = Extension.create({
...
@@ -17,7 +17,7 @@ const DragAndDrop = Extension.create({
addProseMirrorPlugins
()
{
addProseMirrorPlugins
()
{
return
[
return
[
new
Plugin
({
new
Plugin
({
key
:
new
PluginKey
(
'
d
rop
'
),
key
:
new
PluginKey
(
'
customDragAndD
rop
'
),
props
:
{
props
:
{
handleDOMEvents
:
{
handleDOMEvents
:
{
async
paste
(
view
,
event
)
{
async
paste
(
view
,
event
)
{
...
...
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