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: Prevent activeCommand in button-paragraph-align.jsx to be undefined (#1500) #1501

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

georgel-pop-lr
Copy link
Member

Fixes: #1500

If you add 'paragraphAlign' button to Alloy Editor Configurator and you add a paragraph text with an image inside, it will fail to open the menu. Check https://issues.liferay.com/browse/LPS-138431

Copy link
Contributor

@diegonvs diegonvs left a comment

Choose a reason for hiding this comment

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

It partially fixes the error but We introduce another issue here:

justifyleft is being set as a default. So, when selecting a "justified center" text, it will show the selection as justify left but it will not crash as https://issues.liferay.com/browse/LPS-138431 describes :)

@diegonvs diegonvs merged commit 7e4ec9f into liferay:master Sep 14, 2021
@georgel-pop-lr
Copy link
Member Author

georgel-pop-lr commented Sep 15, 2021

It partially fixes the error but We introduce another issue here:

justifyleft is being set as a default. So, when selecting a "justified center" text, it will show the selection as justify left but it will not crash as https://issues.liferay.com/browse/LPS-138431 describes :)

Hi @diegonvs,

Could we try to check on CKEditor side if we can fix this?

I opened https://issues.liferay.com/browse/LPS-139384 for this.

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
2 participants