@flozy/editor 4.3.4 → 4.3.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,5 @@
|
|
1
1
|
import React, { useEffect, useRef, useState } from "react";
|
2
|
-
import {
|
3
|
-
import { ReactEditor } from "slate-react";
|
2
|
+
import { Node, Path } from "slate";
|
4
3
|
import { Box } from "@mui/material";
|
5
4
|
import { Rnd } from "react-rnd";
|
6
5
|
import Handles from "./TransformHandles";
|
@@ -163,7 +162,7 @@ const RnD = props => {
|
|
163
162
|
anchorEl: rndRef?.current
|
164
163
|
});
|
165
164
|
}
|
166
|
-
ReactEditor.focus(editor);
|
165
|
+
// ReactEditor.focus(editor);
|
167
166
|
break;
|
168
167
|
case 2:
|
169
168
|
focusSelection(editor, {
|