Commit 86534e9
authored
theme check visible_if on paragraph is valid (#997)
### TL;DR
Added `visible_if` property to paragraph type settings in theme schema.
### What changed?
Added the `visible_if` property to the paragraph type settings in the theme schema JSON file. This allows paragraph elements to be conditionally displayed based on other setting values.
### How to test?
1. Create a theme setting with a paragraph type that includes a `visible_if` condition
2. Verify that the paragraph is only displayed when the condition is met
3. Test with different condition values to ensure proper visibility toggling
### Why make this change?
Conditionally show or hide paragraph elements in the theme settings and validation accurately reflects for paragraph1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1133 | 1133 | | |
1134 | 1134 | | |
1135 | 1135 | | |
1136 | | - | |
| 1136 | + | |
| 1137 | + | |
1137 | 1138 | | |
1138 | 1139 | | |
1139 | 1140 | | |
| |||
0 commit comments