[wp-trac] [WordPress Trac] #62131: WP Intreractivity API calculated classes aren't added
WordPress Trac
noreply at wordpress.org
Sun Sep 29 17:14:06 UTC 2024
#62131: WP Intreractivity API calculated classes aren't added
-------------------------------+-----------------------------
Reporter: mishaml | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Interactivity API | Version: 6.6.2
Severity: normal | Keywords: needs-patch
Focuses: |
-------------------------------+-----------------------------
Hi! I'm using tailwind in the project on WordPress with Interactivity API.
When I'm using simple classes using data-wp-class directives, everything
works good, classes are added.
{{{
data-wp-class--top-auto="context.isEditCard"
}}}
At the same time calculated classes with same directive aren't added to
the element. I've checked whether with backslashing of classes will work,
but it any way the class wasn't added.
{{{
data-wp-class--bottom-[-24rem]="context.isEditCard"
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62131>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list