@flozy/editor 10.5.5 → 10.5.6

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.
@@ -9,6 +9,7 @@ import { DeleteIcon } from "../../assets/svg/AIIcons";
9
9
  import { SettingsIcon } from "../../assets/svg/TableIcons";
10
10
  import { useEditorContext } from "../../hooks/useMouseMove";
11
11
  import useCommonStyle from "../../commonStyle";
12
+ import { getNode } from "../../utils/helper";
12
13
  import { jsx as _jsx } from "react/jsx-runtime";
13
14
  import { jsxs as _jsxs } from "react/jsx-runtime";
14
15
  const FormField = props => {
@@ -35,7 +36,7 @@ const FormField = props => {
35
36
  const formPath = path.slice(0, path.length - 1);
36
37
  const {
37
38
  metadatamapping
38
- } = Node?.get(editor, formPath) || {};
39
+ } = getNode(editor, formPath) || {};
39
40
  const updatedElement = {
40
41
  ...element,
41
42
  metadatamapping
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "10.5.5",
3
+ "version": "10.5.6",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"