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
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:
- 3211599-update-ckeditor-to changes, plain diff MR !650
Comments
Comment #3
mherchelLooking 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.
Comment #4
cilefen CreditAttribution: cilefen as a volunteer commentedThere is more to it than that. Instructions are in
core/assets/vendor/ckeditor/build-config.js
and you must also updatecore.libraries.yml
with the new version.Comment #5
SpokjeComment #7
SpokjeAdded
Release notes snippet
and tag.Comment #8
SpokjeTests are green, did some (very minimal) manual testing and didn't find any problems.
Setting to
Needs review
to get some thorough manual testing.Comment #9
SpokjeComment #10
SpokjeComment #11
zrpnrThis 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.
Comment #12
zrpnrThe 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.
Comment #13
SpokjeComment #14
SpokjeSorry about the noise :/
Comment #15
Akhildev.cs CreditAttribution: Akhildev.cs as a volunteer and at Zyxware Technologies commentedhi,
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.
Comment #16
Wim LeersThis only has happened a handful of times over the years since Drupal 8.0.0 shipped.
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.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 newpastefromgdocs
plugin that made sense to add in addition to the pre-existingpastefromword
plugin. Before then it was #2239419: Include CKEditor's AutoGrow plug-in that added theautogrow
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! 👍
Adding that would require a separate issue, because it changes the UX materially.
Agreed!
Comment #17
Wim LeersGiven
and
I don't see any reason to not go ahead with committing this 😊
Comment #19
catchCommitted/pushed to 9.3.x and cherry-picked to 9.2.x, thanks!