Skip to content

Commit b515b77

Browse files
authored
Merge pull request #69 from badasswp/feat/add-search-replace-to-table-header-and-footer
Feat: Add Search & Replace feature for `Table` header, footer & caption
2 parents 97ecfcf + 57923e7 commit b515b77

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.8.0
4+
* Feat: Add Search & Replace feature for table head, foot & caption.
5+
* Tested up to WP 6.8.
6+
37
## 1.7.0
48
* Fix: Issue with rich content replacement (HTML bearing string).
59
* Feat: On Modal open, show items found for Highlighted text.

src/core/filters.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ addAction(
3333
break;
3434

3535
case 'core/table':
36+
replaceBlockAttribute( args, 'head' );
3637
replaceBlockAttribute( args, 'body' );
38+
replaceBlockAttribute( args, 'foot' );
39+
replaceBlockAttribute( args, 'caption' );
3740
break;
3841

3942
default:

0 commit comments

Comments
 (0)