# extendify/3.1.6/src/Agent/workflows/block-selector/block-general.js

Extendify, version 3.1.6. 17 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.1.6/code/src/Agent/workflows/block-selector/block-general.js
- Raw: https://pluginprobe.com/plugins/extendify/3.1.6/raw/src/Agent/workflows/block-selector/block-general.js
- Modified: 2025-09-30T17:20:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/extendify/3.1.6/code/src/Agent/workflows/block-selector/block-general.js#L10-L20`.

```javascript
import { UpdateBlockConfirm } from '@agent/workflows/block-selector/components/UpdateBlockConfirm';

const { context, abilities } = window.extAgentData;

export default {
	available: () =>
		abilities?.canEditPosts &&
		!context?.adminPage &&
		context?.postId &&
		!context?.isBlogPage &&
		context?.isBlockTheme &&
		document.querySelector('.wp-site-blocks'),
	id: 'block-general',
	requires: ['block'],
	whenFinished: { component: UpdateBlockConfirm },
};

```
