grapesjs
grapesjs copied to clipboard
BUG: Even/odd state don't work as expected
GrapesJS version
- [X] I confirm to use the latest version of GrapesJS
What browser are you using?
106.0.5249.91
Reproducible demo link
https://grapesjs.com/demo.html
Describe the bug
How to reproduce the bug?
- Drag "1 Column" block
- Add four "Text" blocks into the column
- Select the column and choose "Even/odd" state then change color under typography to red
What is the expected behavior? Even or odd items should have red color while all text blocks are red
What is the current behavior? Nothing
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
I think you should apply Even/Odd on text components if you expect different colors on them. With Even/Odd applied on the column the effect will be visible with multiple columns.
I'm closing this as it's not a bug but how :nth-of-type works