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

chore: update ckeditor-dev to 4.18.0 #196

Merged
merged 4 commits into from
Apr 13, 2022

Conversation

diegonvs
Copy link
Contributor

@diegonvs diegonvs commented Mar 23, 2022

What it does

It updates ckeditor's base version to 4.18.0 to solve errors like:

ckeditor.js?browserId=chrome&languageId=en_US&b=7403&t=1647293976851:1216 Uncaught ReferenceError: CKEDITOR is not defined
{{ at MutationObserver.<anonymous>}}

when navigating from a page that an editor was mounted to another one.

There is a ticket for it: https://issues.liferay.com/browse/LPS-149452

Things to keep an eye(or maybe both eyes)

When I ran ./ck.sh build, I got some errors about wsc not being available to download, and when I checked the ckeditor changelog, I discovered they had removed/deprecated wsc.

I needed to remove this LOC where it was responsible for downloading wsc in order for the build script to run properly.

About wsc depending usages:

  • Inside liferay-ckeditor:

I noticed we're setting some styles/skin on moono-lexicon related to wsc plugin. So, I removed this CSS file

  • Inside liferay-portal:

When grepping around DXP, I identified only an import thing related to testing at this file where tests are trying to assert if wsc plugin was downloaded or not. After talking with @john-co, We decided to just remove it because it was unused.

There is a ticket for it as a sub task: https://issues.liferay.com/browse/LPS-150162

From ckeditor4 changelog:

https://github.com/ckeditor/ckeditor4/blob/master/CHANGES.md#ckeditor-4180

Web Spell Checker ended support for WebSpellChecker Dialog on December 31st, 2021. This means the plugin is not supported any longer. Therefore, we decided to deprecate and remove the WebSpellChecker Dialog plugin from CKEditor 4 presets.
5fe059002f (tag: 4.18.0) Merge pull request #5129 from ckeditor/changelog-4.18
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.

LGTM!

Did we do this 21 days ago? How time flies.. 😅

@markocikos markocikos merged commit 9242dbf into liferay:master Apr 13, 2022
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.

2 participants