diff --git a/packages/editor/src/dataviews/actions/export-pattern.tsx b/packages/editor/src/dataviews/actions/export-pattern.tsx index 917b284ade1a2c..57fb969d2ff29c 100644 --- a/packages/editor/src/dataviews/actions/export-pattern.tsx +++ b/packages/editor/src/dataviews/actions/export-pattern.tsx @@ -34,6 +34,7 @@ const exportPattern: Action< Pattern > = { id: 'export-pattern', label: __( 'Export as JSON' ), supportsBulk: true, + isEligible: ( item ) => item.type === 'wp_block', callback: async ( items ) => { if ( items.length === 1 ) { return downloadBlob(