When a textformat has no text-editor configured ckeditor crashes

Created on 5 July 2023, 12 months ago
Updated 12 July 2023, 12 months ago

Problem/Motivation

When you have a text format where you don't want a toolbar and you configure the text-editor field to be none, it gives errors when you load a page with that format active.
Cause is that $editor->getSettings()['toolbar']['items'] is empty or doesn't exist.

Proposed resolution

Check whether toolbar items are set or not empty.

🐛 Bug report
Status

Closed: duplicate

Version

10.1

Component
CKEditor 5 

Last updated about 5 hours ago

Created by

🇧🇪Belgium Tim Lammar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024