CKEditor 4.16.0 has been released: https://ckeditor.com/blog/CKEditor-4.16-with-improved-image-pasting-High...

See also:

#1858210: [meta] Content editing experience follow-ups — in-place editing and WYSIWYG
#1950098: Update CKEditor library to 4.1
#2036253: Update CKEditor library to 4.2
#2039163: Update CKEditor library to 4.4
#2271051: Update CKEditor library to 4.4.4
#2345961: Update CKEditor library to 4.4.5
#2384581: Security: Update CKEditor library to 4.4.6
#2415111: Update CKEditor library to 4.4.7
#2521820: Update CKEditor library to 4.5.3
#2321583: Update CKEditor library to 4.5.5
#2663566: Update CKEditor library to 4.5.7
#2698587: Update CKEditor library to 4.5.8
#2724225: Update CKEditor library to 4.5.9
#2765751: Update CKEditor library to 4.5.10
#2797427: Update CKEditor library to 4.5.11
#2828494: Update CKEditor library to 4.6
#2848215: Update CKEditor library to 4.6.2
#2893566: Update CKEditor library to 4.7.1
#2904142: Update CKEditor library to 4.7.2
#2908864: Update CKEditor library to 4.7.3
#2926932: Update CKEditor library to 4.8.0
#2962330: Update CKEditor library to 4.9.2
#2983516: Update CKEditor library to 4.10.0
#2999691: Update CKEditor library to 4.10.1
#3035933: Update CKEditor to 4.11.3
#3050757: Update CKEditor to 4.11.4
#3072382: Update CKEditor to version 4.13
#3105327: Update CKEditor to version 4.13.1
#3120022: Update CKEditor to version 4.14.0
#3171952: Update CKEditor to version 4.15.0
#3183749: Update CKEditor to version 4.15.1

Release notes snippet

CKEditor has been updated from 4.15.1 to 4.16.0, which includes numerous bugfixes and improvements.

Issue fork drupal-3211599

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lauriii created an issue. See original summary.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

mherchel’s picture

Looking into this a bit. Is this as simple as downloading and copying over a package from https://ckeditor.com/ckeditor-4/download/?

If so, which package do I select? There are four available.

cilefen’s picture

There is more to it than that. Instructions are in core/assets/vendor/ckeditor/build-config.js and you must also update core.libraries.yml with the new version.

Spokje’s picture

Assigned: Unassigned » Spokje

Spokje’s picture

Issue summary: View changes
Issue tags: +9.3.0 release notes

Added Release notes snippet and tag.

Spokje’s picture

Status: Active » Needs review

Tests are green, did some (very minimal) manual testing and didn't find any problems.

Setting to Needs review to get some thorough manual testing.

Spokje’s picture

Assigned: Spokje » Unassigned
Spokje’s picture

zrpnr’s picture

This looks good, I ran the build step on my local 4.16.0 copy of ckeditor4 and got the exact same result, except for the generated timestamps of course :)

Manually tested with uploading image, selecting media, using quickedit. Everything seems normal.
I found a problem with inserting a media element using quickedit, but it's the same on 9.3.x so it's not caused by this MR. I'll look into that more to see what's causing it.

How do we decide when to update the build-config.js ? For example I noticed an editorplaceholder plugin that was newly added last year, but more recently than any changes to the plugin list in drupal core.

zrpnr’s picture

The plugins list in build-config.js was updated in SA-CORE-2020-001 when CKEditor was updated to 4.14, added pastefromlibreoffice
and before that in #3072382: Update CKEditor to version 4.13 when CKEditor was updated to 4.13, added pastefromgdocs

Reading about editorplaceholder, it doesn't seem like a plugin we need to add here.
It was the only update to the plugin list I saw going back to before these 2 other changes.

Spokje’s picture

Issue tags: +Bug Smash Initiative
Spokje’s picture

Issue tags: -Bug Smash Initiative

Sorry about the noise :/

Akhildev.cs’s picture

hi,
I tested that patch #10 manually, the patch applied successfully and it works fine for me. CKEditor updated successfully.
from:
ckeditor:
version: "4.15.1"
To
ckeditor:
version: "4.16.0"
THANKYOU.

Wim Leers’s picture

How do we decide when to update the build-config.js ? For example I noticed an editorplaceholder plugin that was newly added last year, but more recently than any changes to the plugin list in drupal core.

This only has happened a handful of times over the years since Drupal 8.0.0 shipped.

  1. To add more things to the ignore key requires no discussion: this is just to automatically ignore whatever additional metadata files the CKSource team committed to the repository, that we do not need to ship with Drupal.
  2. To add more things to the plugins key does require scrutiny, since this fundamentally changes our CKEditor build. The last time this happened was in November 2019, for updating to CKEditor 4.13, in #3072382: Update CKEditor to version 4.13. That included a new pastefromgdocs plugin that made sense to add in addition to the pre-existing pastefromword plugin. Before then it was #2239419: Include CKEditor's AutoGrow plug-in that added the autogrow plugin. This required detailed discussion.
    EDIT: I should've read #12 before writing all this 🙃

So, let's look at what's changing here … nothing — great! 👍

For example I noticed an editorplaceholder plugin that was newly added last year, but more recently than any changes to the plugin list in drupal core.

Adding that would require a separate issue, because it changes the UX materially.

Reading about editorplaceholder, it doesn't seem like a plugin we need to add here.

Agreed!

Wim Leers’s picture

Status: Needs review » Reviewed & tested by the community
Related issues: +#3183749: Update CKEditor to version 4.15.1

Given

This looks good, I ran the build step on my local 4.16.0 copy of ckeditor4 and got the exact same result, except for the generated timestamps of course :)

and

Manually tested with uploading image, selecting media, using quickedit. Everything seems normal.

I don't see any reason to not go ahead with committing this 😊

  • catch committed 9db6d56 on 9.3.x
    Issue #3211599 by Spokje, Wim Leers, lauriii, zrpnr, cilefen: Update...
catch’s picture

Version: 9.3.x-dev » 9.2.x-dev
Status: Reviewed & tested by the community » Fixed

Committed/pushed to 9.3.x and cherry-picked to 9.2.x, thanks!

  • catch committed 59d73ae on 9.2.x
    Issue #3211599 by Spokje, Wim Leers, lauriii, zrpnr, cilefen: Update...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.