Remove Dependency on Lodash #473
Labels
bug
Something isn't working
gutenberg
Requires understanding Gutenberg
typescript
Requires understanding TypeScript
User Story
Acceptance Criteria
block-editor-tools
that depends on lodash. As of the time of writing, this should be limited to the use ofcloneDeep
inusePostMeta
.Description of the bug
SlotFill fields stopped working after updating to WordPress 6.4.1
Upon typing in text or attempting to make changes to editing text into field nothing happens. I'd expect to be able to add/edit text.
Steps To Reproduce
6.4.1
usePostMetaValue
to get a post meta valueAdditional Information
I noticed this JS error in the browser console:
Uncaught TypeError: Cannot read properties of undefined (reading 'cloneDeep')
It appears that Lodash is missing in the window object and the Lodash library is not being loaded. See WordPress/gutenberg#52571
The text was updated successfully, but these errors were encountered: