diff --git a/package.json b/package.json index 27a1d9d..8531415 100644 --- a/package.json +++ b/package.json @@ -55,8 +55,9 @@ "markdown-it-texmath": "^1.0.0", "marked": "^9.0.3", "object-path": "^0.11.8", + "rdndmb-html5-to-touch": "^8.0.3", "react-dnd": "^16.0.1", - "react-dnd-html5-backend": "^16.0.1", + "react-dnd-multi-backend": "^8.0.3", "react-input-mask": "3.0.0-alpha.2", "react-markdown-editor-lite": "^1.3.4", "react-redux": "^8.1.2", diff --git a/src/admin/components/SchemaWizard.jsx b/src/admin/components/SchemaWizard.jsx index b5fb2a0..d80a1b1 100644 --- a/src/admin/components/SchemaWizard.jsx +++ b/src/admin/components/SchemaWizard.jsx @@ -1,4 +1,5 @@ -import { HTML5Backend } from "react-dnd-html5-backend"; +import { MultiBackend } from "react-dnd-multi-backend"; +import { HTML5toTouch } from "rdndmb-html5-to-touch"; import { DndProvider } from "react-dnd"; import { Col, Row, Spin } from "antd"; import PropertyEditor from "../components/PropertyEditor"; @@ -28,7 +29,7 @@ const SchemaWizard = () => { ); return ( - + {/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */} {/* @ts-ignore */} - +