Commit d0995235 by Яков

try fix

parent 25d5b0f5
{ {
"name": "react-ag-qeditor", "name": "react-ag-qeditor",
"version": "1.0.74", "version": "1.0.75",
"description": "WYSIWYG html editor", "description": "WYSIWYG html editor",
"author": "atma", "author": "atma",
"license": "MIT", "license": "MIT",
......
...@@ -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('drop'), key: new PluginKey('customDragAndDrop'),
props: { props: {
handleDOMEvents: { handleDOMEvents: {
async paste (view, event) { async paste (view, event) {
......
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 to comment