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

LPD-34946 Check if values are empty and delete styles when not used #213

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

fortunatomaldonado
Copy link
Member

https://liferay.atlassian.net/browse/LPP-55392
https://liferay.atlassian.net/browse/LPD-34946

Hello,

Using the Image Properties, the image gets style="margin: 0px;” added. This is no longer removable even if the entries are empty.

Before
Screencast from 08-27-2024 01:36:12 PM.webm

I made changed so that the styles are removed and no longer added if the entries are blank.

After

Screencast.from.08-27-2024.01.27.16.PM.webm

Let me know if there are any questions or comments about this.
Thank you!

Copy link
Member

@bryceosterhaus bryceosterhaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@fortunatomaldonado
Copy link
Member Author

Thank you @bryceosterhaus!
@markocikos, can we get this pull and #212 merged?
Also if we can get the version upgraded, I wasn't able to do it before.

Thank you!

Copy link
Member

@markocikos markocikos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@markocikos markocikos merged commit 88be248 into liferay:master Aug 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants