| @@ -238,9 +238,9 @@ | ||
| 238 | 238 | 'read-more', |
| 239 | 239 | 'term-description', |
| 240 | 240 | ]); |
| 241 | 241 | |
| 242 | -const detectBlockType = (el) => { | |
| 242 | +export const detectBlockType = (el) => { | |
| 243 | 243 | let firstWpBlockClass = null; |
| 244 | 244 | for (const cls of el.classList) { |
| 245 | 245 | if (KNOWN_UNSUPPORTED.has(cls)) return null; |
| 246 | 246 | if (!firstWpBlockClass && cls.startsWith('wp-block-')) { |