In the block script I had to replace:
import pick from 'lodash/pick';
with:
const { pick } = lodash;
And now it seems to work for me.
Related Posts:
- creating elements/innerblocks via rangecontrol
- Looking for callback function after Gutenberg is rendered?
- Gutenberg: useDispatch is not a function – @wordpress/data included
- Make a list with header and subtext in Gutenberg blocks
- Gutenberg – What is the best way to save/update post meta?
- How to prevent UNDO on guternberg block editor
- Do I have to worry about useState causing a re-render?
- Creating a custom Gutenberg block with columns
- Gutenberg: import dependency or assign from global variable?
- How to control an elements classes from multiple Gutenberg sidebar controls?
- Developing the save function in Gutenberg blocks
- Gutenberg – is it ok to load dependencies multiple times?
- Preventing double loading JS scripts (like React) when developing for Gutenberg
- Getting incorrect filepath inside custom block front-end output using @wordpress/create-block tutorial
- Trigger function on Remove block or add new block in Gutenberg JavaScript
- Rerender core Templates with with ToggleControl but it doesnt recognize block type
- HTMLCollection not counting right in editor? / for loop not working on elements in DOM
- What happens/fires when you select a block in the editor?
- Is “document loaded” different on admin side than public side?
- How to use setAttributes outside of the edit function return
- why is apiFetch throwing Unhandled Promise Rejection: TypeError: Object is not a function
- Reading plugin settings in esnext wordpress block
- How can i add insertion point between inner blocks in my custom block like core blocks
- Reinitiate Gutenburg’s blocks using javascript
- Insert text programmatically in WordPress Gutenberg Editor
- Javascript function defined in view.js not reachable from save.js
- How to move custom gutenberg block controls from settings to styles tab?
- How to use useSelect to retrieve the currently default fontFamily?
- Event when Modal is opened/visible
- useBlockProps() nests wrapper with class name inside block wrapper in the editor
- Is It Possible to Use the Block Editor’s Notification Feature to Send Another Notification After the Post Is Saved?
- check if Gutenberg is currently in use
- How to use PanelColorSettings in custom Gutenberg block?
- Can I use the wp media uploader for my own plugin?
- Customizing the 3.5 “Add Media” popup (Backbone.js)
- Hook the Keydown Event in the TinyMCE Post Editor
- Managing two editable fields in gutenberg
- How to save block attributes when the output doesn’t change
- How to remove unwanted panels inside InspectorControls from core blocks in Gutenberg
- Gutenberg ServerSideRender is deprecated, how to work with new wp.serverSideRender component?
- How to Parse an Array of Elements in Gutenberg Block
- Can’t get JS code to work with shortcode
- Using the component outside the editor. select(‘core’) is null
- Gutenberg is there a way to know if the current block is reusable?
- How to allow core Gutenberg blocks selection only when you are inside a custom inner block
- How do I add a javascript file to all admin pages via a plugin?
- Saving data from block editor to the database
- How do I store information in a dynamic block in WordPress?
- Gutenberg Block showing invalid content on edit
- Gutenberg blocks not getting styled on back end
- WordPress Plugin with a shortcode that dynamically generates javascript. Can I use add_action without wrapping the javascript in a function?
- Best way to save custom css for an block
- How can I listen to events in Gutenberg block?
- It’s possible to passing a ref to FormTokenField from parent component using forwardRef?
- What’s the right way to instantiate new blocks and/or the plugin itself in toto when using wppb architecture?
- WP Gutenberg Blocks – How to limit first/root blocks
- “import declarations may only appear at top level of a module” when importing WooCommerce API node module
- add javascript files only when plugin is called?
- What action hook can I use to add a JavaScript to a page post using a theme template that is not including get_header() nor get_footer()?
- should i be checking for jquery before enqueing it in a plugin
- Loading custom js file on the admin page through plugin
- Run JavaScript validation script on form submit in plugin
- Custom Plugin – CSS works, JS doesn’t
- Catching Gutenberg sidebar switch event
- Use npm and wp-env to make production bundle
- Passing the name of selected color from the custom component to `render_callback`
- How to use apiFetch to get author information in Gutenberg properly?
- Gutenberg blocks error: Each child in a list should have a unique “key” prop
- How to add a panel/box/widget/are/screen to the right side of edit post/page confusion
- Service Worker Uncaught (in promise) DOMException
- Setting global block attribute value
- About a programming language starts with [closed]
- Referencing files in JavaScript in WordPress Plugin
- Should I put my plugin javascript inline?
- WordPress – Get Posts with Category data
- Custom Block Not Shown in Block Inserter
- var(–text-color) in style.scss works once but not twitch
- jQueryUI draggable doesn’t work in WordPress plugin
- Get value of custom checkbox from Gutenberg sidebar in plugin
- XMLHttpRequest to open PHP file responds with Missing Page
- Replace the WordPress Media Library Uploader
- How to display archive by selecting year and then selecting month
- Custom plugin not appearing
- Gutenberg’s Popover component position relative to the focused element
- How to get the value entered in the input field in wordpres
- Gutenberg: – Call a function after Server Side Component is rendered
- Accept only PDF file for upload
- Help interpreting @wordpress/create-block-tutorial-template usage error
- How can I add a custom button to the post editor?
- How to get custom user meta by id in custom Gutenberg block
- Block Development: hamburger module throwing error in save function
- Adding a navigation with wp_nav_menu() to a custom block in the site editor
- Why isn’t custom sidebar panel not showing up in the Gutenberg Editor?
- Vanilla javascript in custom gutenberg block not working
- How can I include React useState in a custom gutenberg block plugin?
- Translations not making it into Block UI but work in the rest of the plugin
- How can I obtain an option (get_option) inside a block viewScript?
- How to apply a javascript code on certain parts of elementor made pages?
- move useState variable from edit.js to save.js. How do I do that?
- WordPress Block with Interactivity API e Preact Component