See example table block.
Add a post with this block.
`
| kolom rij 1 | kolom rij 2 |
|---|
| rij 1 | rij 2 |
| rij 3 | rij 4 |
| footer rij 1 | footer rij 2 |
caption rij
`
Then do a search and replace for "rij". Only 4 items are found.
Cause:
in filter.tsx for table S&R only filters on the body content and not on the content of the header, footer or caption.
case 'core/table': replaceBlockAttribute( args, 'body' ); break;
solution :
add
'replaceBlockAttribute(args, 'foot');
replaceBlockAttribute(args, 'head');
replaceBlockAttribute(args, 'caption');'
to the code to do a S&R for the header, footer and caption.