Commit 25d5b0f5 by Яков

try fix

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