@flozy/editor 4.3.4 → 4.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ const usePopupStyle = theme => ({
5
5
  marginBottom: "12px !important",
6
6
  border: "1px solid #D8DDE1",
7
7
  borderRadius: "6px",
8
- maxWidth: "96%",
8
+ maxWidth: "100%",
9
9
  "&.fullscreen": {
10
10
  marginBottom: "0px !important",
11
11
  "& .papper-wrpr": {
@@ -1,6 +1,5 @@
1
1
  import React, { useEffect, useRef, useState } from "react";
2
- import { Editor, Node, Path, Transforms } from "slate";
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, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "4.3.4",
3
+ "version": "4.3.5",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"