easy-email-pro-theme 0.6.0 → 0.7.0

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.
Files changed (2) hide show
  1. package/lib/index.js +3 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -953,8 +953,9 @@ const EditorContextProvider = (props) => {
953
953
  universalElements: universalElementSetting.elements
954
954
  });
955
955
  }
956
- Transforms.setNodes(editor, pageBlock, {
957
- at: [0]
956
+ editor.replaceNode({
957
+ node: pageBlock,
958
+ path: [0]
958
959
  });
959
960
  form.setFieldsValue(newValues);
960
961
  initialValuesRef.current = newValues;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-email-pro-theme",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "",
5
5
  "files": [
6
6
  "lib"