Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-9296: Custom CSS classes not working for "embedimage" #197

Open
wants to merge 1 commit into
base: 4.6
Choose a base branch
from

Conversation

GrabowskiM
Copy link
Contributor

@GrabowskiM GrabowskiM commented Dec 9, 2024

🎫 Issue IBX-9296

Description:

Custom class was there under custom-classes attribute, but it was in form of ibexa-embed-type-image {custom_class} so cleanClasses method was removing this whole attribute (as ibexa-embed-type-image wasn't in custom classes options config and all custom-classes had to be matched)

I've added to config info about this component class and before any checks I remove it from attribute.
Also, I have to remove it later manually from model attributes, as otherwise ibexa-embed-type-image is duplicated - probably comes from container declaration and from custom-classes, co one of these origins had to be cleared.

For QA:

Documentation:

Copy link

sonarcloud bot commented Dec 9, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants