Commit 25d5b0f5 by Яков

try fix

parent 5c00b0af
{ {
"name": "react-ag-qeditor", "name": "react-ag-qeditor",
"version": "1.0.73", "version": "1.0.74",
"description": "WYSIWYG html editor", "description": "WYSIWYG html editor",
"author": "atma", "author": "atma",
"license": "MIT", "license": "MIT",
......
...@@ -508,9 +508,9 @@ const QEditor = ({ ...@@ -508,9 +508,9 @@ const QEditor = ({
className: 'atma-editor-focused', className: 'atma-editor-focused',
mode: 'all' mode: 'all'
}), }),
// DragAndDrop.configure({ DragAndDrop.configure({
// linkUpload: uploadOptions.url linkUpload: uploadOptions.url
// }), }),
Audio, Audio,
Superscript, Superscript,
Subscript, Subscript,
......
...@@ -13,7 +13,7 @@ const upload = async (file) => { ...@@ -13,7 +13,7 @@ const upload = async (file) => {
}; };
const DragAndDrop = Extension.create({ const DragAndDrop = Extension.create({
name: 'drop', name: 'customDragAndDrop',
addProseMirrorPlugins() { addProseMirrorPlugins() {
return [ return [
new Plugin({ new Plugin({
......
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