Differences Between CKEditor 4 and 5

CKEditor is the content editor used for the "Body" field on this site. It was upgraded from version 4 to version 5 on Fri 1 Dec 2023. This page documents the most important differences. If you run into any problems, please contact IT support.

More Accurate Styling

The content styles you see in the editor are now much closer to what is displayed when you save the page. For example:

Screenshot of CKEditor 5 WYSIWYG editor

Simplified Dialogs

Some of the modal dialogs (e.g. Edit Link, Edit Image) have been replaced with popups that display within the editor:

Screenshot of the CKEditor 5 link editor popup

Advanced Styles

There are also some more advanced styles you can select from the new "Styles" dropdown, such as striped tables:

Screenshot of the Styles dropdown and a striped table

If there are any styles you would like to see added, please contact IT support.

YouTube Button Removed

The "Embed YouTube Video" button is no longer available. To embed a video in CKEditor 5:

  1. Click "Insert Media"
  2. Paste the video URL into the address field at the top (you may need to scroll up a little)
  3. Click "Add"

Screenshot of the Insert Media dialog, with a YouTube video URL entered in the text field

This will insert the video at the default size (800×450, 16:9). If you need more control, you can type this shortcode directly into the content area instead:

[youtube:ID|WIDTH|HEIGHT|TITLE]

For example:

[youtube:tlANqfYn214|640|480|Laying of the Penrose Paving]

Vimeo and Panopto are also supported.

File Insert Button Removed

Update: The "Insert" button was re-added on 18 Apr 2024, now the module has been updated to support CKEditor 5. The following alternatives are still available as well:

The "Insert" button in the "Files" list is no longer available. You can either upload the file directly using the "Insert File" button - the same as in CKEditor 4:

  1. Click the "Insert file" icon in the toolbar
  2. Click "Browse"
  3. Navigate to the file and open it
  4. Click "Save"

Screenshot of the Add File dialog

Or, if you have already uploaded the file to the "Files" section, you can manually copy the filename and paste it into a link:

  1. Right-click the filename in the "Files" list
  2. Click "Copy Link"
  3. In the editor, click the "Link" icon in the toolbar
  4. Paste the URL (Ctrl+V, or right-click > Paste)
  5. Click "Save" (the tick icon)

Screenshot of the Insert Link popup, with a file URL pasted in

File Type Icons

In either case, if you want to apply a PDF icon to the link (for consistency with existing links):

  1. Make sure the link is focused in the editor (it will have a light blue background)
  2. Click the "Styles" dropdown
  3. Click "Link: PDF Icon"

Screenshot of the Styles dropdown with "Link: PDF Icon" highlighted

If you need any other file type icons adding to the list, please contact IT support.

Please contact us with feedback and comments about this page. Last updated on 18 Apr 2024 11:21.