@contentful/experiences-visual-editor-react 3.5.1-dev-20250903T0815-980153f.0 → 3.5.1-dev-20250903T1122-7dbe32b.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.
package/dist/index.js CHANGED
@@ -4950,9 +4950,10 @@ const useComponentProps = ({ node, entityStore, areEntitiesFetched, resolveDesig
4950
4950
  className: props.cfSsrClassName ?? cfCsrClassName,
4951
4951
  };
4952
4952
  return {
4953
- ...sharedProps,
4954
- ...editorProps,
4955
4953
  ...sanitizeNodeProps(props),
4954
+ // Add those at last to not let them get overwritten by custom properties
4955
+ ...editorProps,
4956
+ ...sharedProps,
4956
4957
  };
4957
4958
  }, [cfCsrClassName, editorProps, node, props]);
4958
4959
  return { componentProps };