# extendify/3.2.1/src/Agent/lib/classify-block-edit.js

Extendify, version 3.2.1. 17 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.2.1/code/src/Agent/lib/classify-block-edit.js
- Raw: https://pluginprobe.com/plugins/extendify/3.2.1/raw/src/Agent/lib/classify-block-edit.js
- Modified: 2026-09-09T18:23:40+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.2.1/code/src/Agent/lib/classify-block-edit.js#L10-L20`.

```javascript
import { buildSubtreeManifest } from './subtree-manifest';

// Wrapper/child units edited as one so both schemas ship; grow over time.
const COMBO_BLOCKS = new Set(['core/buttons', 'core/button']);

// Blocks local-pick and schema-loading skip; empty today, kept as the seam.
export const IGNORED_BLOCKS = new Set([]);

// single/combo pin the selection's schema; multi ships the subtree's or narrows.
export const classifyBlockEdit = ({ block, root }) => {
	if (!block?.blockType || IGNORED_BLOCKS.has(block.blockType))
		return { bucket: 'multi' };
	if (COMBO_BLOCKS.has(block.blockType)) return { bucket: 'combo' };
	if (buildSubtreeManifest(root).length > 1) return { bucket: 'multi' };
	return { bucket: 'single' };
};

```
