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

LPS-132871 ClassicEditor content is missing #102566

Conversation

liferay-continuous-integration
Copy link
Collaborator

Forwarded from: liferay-frontend#1133 (Took 1 ci:forward attempt in 1 minute)
Console

@markocikos
@liferay-frontend

Original pull request comment:
Fixes: https://issues.liferay.com/browse/LPS-132871

@boton @julien

This is a bugfix, but basically a followup on liferay-frontend#954. The bug was caused by liferay-frontend@84432f7, merged as a part of that PR. Looking at the discussion in the PR, I see you wanted to use data prop, expecting that React component does the updating. But, you were looking at ckeditor4-react master and we are using an older version of React component in DXP. If you tried it, we would show unformatted code (see 1.3.0 gif).

In this PR, we are updating ckeditor4-react to the latest version and using data param to set content.

Important note @boton : With this PR, it is likely that we will have regression on https://issues.liferay.com/browse/LPS-130112. onChange is now be triggered internally and we cannot avoid it. I am not sure now to replicate the issue in that ticket, or if it's still valid. We should probably find a different way to work around, because we don't want to be stuck with old version of ckeditor4-react forever. Can you please look into this?

Before PR:
before

After using data prop, without ckeditor4-react update:
after1

After this PR:
after

✔️ ci:test:sf - 1 out of 1 jobs passed in 3 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 028f6fdc16f6cf3eccb5326b3ce4243a62c0f9ba

Sender Branch:

Branch Name: LPS-132871
Branch GIT ID: 1527d266dfe25bd1d75de8ba5a64016617eb13dc

1 out of 1jobs PASSED
1 Successful Jobs:
For more details click here.

✔️ ci:test:stable - 9 out of 9 jobs passed

✔️ ci:test:relevant - 23 out of 23 jobs passed in 3 hours 36 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 028f6fdc16f6cf3eccb5326b3ce4243a62c0f9ba

Upstream Comparison:

Branch GIT ID: 028f6fdc16f6cf3eccb5326b3ce4243a62c0f9ba
Jenkins Build URL: Acceptance Upstream DXP (master) #1919

ci:test:stable - 9 out of 9 jobs PASSED
9 Successful Jobs:
ci:test:relevant - 23 out of 23 jobs PASSED
23 Successful Jobs:
For more details click here.
Test bundle downloads:

@liferay-continuous-integration
Copy link
Collaborator Author

To conserve resources, the PR Tester does not automatically run for forwarded pull requests.

@brianchandotcom
Copy link
Owner

Merged. Thank you.
View total diff: bac2ffc...8a0eb12

@liferay-continuous-integration liferay-continuous-integration deleted the ci-forward-LPS-132871-pr-1133-sender-markocikos-ts-1622541689732 branch June 8, 2021 10:24
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.

3 participants