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

Upgrade CKEditor to latest version 41.2 #7326

Merged
merged 3 commits into from
Mar 25, 2024

Conversation

alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented Mar 25, 2024

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets parts of #6343
Related issues/PRs #
License MIT
Documentation PR sulu/sulu-docs#

What's in this PR?

Upgrade CKEditor to latest version.

Why?

To allow use all new features of CKEditor latest version.

@@ -61,6 +61,8 @@ as well as [pnpm 8](https://pnpm.io/) or [bun 1](https://bun.sh/) for custom
admin builds. With the introduction of these new versions, it is necessary
to drop the support for npm 6.

The upgrade of CKEditor to the latest version atleast [requires Node 18](https://github.com/ckeditor/ckeditor5-dev/blob/v39.6.3/package.json#L19).
Copy link
Member Author

Choose a reason for hiding this comment

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

Beside the NPM update we also require now atleast Node 18: https://github.com/ckeditor/ckeditor5-dev/blob/v39.6.3/package.json#L19

/cc @sulu/core-developer

@alexander-schranz alexander-schranz added the Feature New functionality not yet included in Sulu label Mar 25, 2024
@alexander-schranz alexander-schranz changed the title Upgrade CKEditor to latest version Upgrade CKEditor to latest version 41.2 Mar 25, 2024
@@ -112,7 +112,7 @@
],
"clearMocks": true,
"transformIgnorePatterns": [
"node_modules/(?!(@ckeditor|ckeditor5|array-move|lodash-es)/)"
"node_modules/(?!(@ckeditor|ckeditor5|array-move|lodash-es|vanilla-colorful)/)"
Copy link
Member Author

Choose a reason for hiding this comment

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

required by ckeditor as it requires modern import statements we need to babelify it for jest runtime

@@ -180,7 +180,7 @@
}
],
"react/jsx-pascal-case": "error",
"react/jsx-sort-default-props": [
"react/sort-default-props": [
Copy link
Member Author

Choose a reason for hiding this comment

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

@wachterjohannes wachterjohannes merged commit 274540d into sulu:2.6 Mar 25, 2024
8 checks passed
@alexander-schranz alexander-schranz deleted the feature/ckeditor-upgrade branch March 25, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New functionality not yet included in Sulu
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants