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

fix: Reload image state selection each time you select another one (… #1508

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

georgel-pop-lr
Copy link
Member

@georgel-pop-lr georgel-pop-lr commented Dec 3, 2021

fix: Reload image state selection each time you select another one (#1508)

We can use https://issues.liferay.com/browse/LPS-143258 to upgrade alloy-editor version in the portal.

* @memberof ButtonAccessibilityImageAlt
* @method componentWillReceiveProps
*/
componentWillReceiveProps() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey @georgel-pop-lr, why did you used componentWillReceiveProps in this case? The fix is working but I would know more about it :)

Choose a reason for hiding this comment

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

Hi @diegonvs

@georgel-pop-lr is on PTO now.

The fix was created based on the ButtonLinkEdit: https://github.com/liferay/alloy-editor/blob/master/src/components/buttons/button-link-edit.jsx

More details here: https://issues.liferay.com/browse/PTR-2775?focusedCommentId=2576007&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-2576007

Could you plesae merge this change and release it in a new alloy-editor version?

Thanks, Roland

Copy link
Member Author

@georgel-pop-lr georgel-pop-lr Dec 9, 2021

Choose a reason for hiding this comment

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

Hi @diegonvs,

Yes, as @rolandpakai said I inspired myself on https://github.com/liferay/alloy-editor/blob/master/src/components/buttons/button-link-edit.jsx

Let me know if anything else is needed.

Regards.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hi @diegonvs,

Will we upgrade alloyeditor on master as well?

Also, let us know when a new version is available.

Regards.

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