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.

CommentFileSizeAuthor
#5 error.png155.51 KBshailja179
#2 3372452-2.patch1.85 KBtim@lammar.be

Comments

tim@lammar.be created an issue. See original summary.

tim@lammar.be’s picture

StatusFileSize
new1.85 KB

This fixed the errors for me.

cilefen’s picture

Status: Active » Needs review
Issue tags: -ckeditor5
cilefen’s picture

Status: Needs review » Needs work
shailja179’s picture

StatusFileSize
new155.51 KB

The patch in #2 does not fix the error.

keshavv’s picture

Assigned: Unassigned » keshavv
keshavv’s picture

Assigned: keshavv » Unassigned

Unable to replicate, Please provide the problem statement more clearly.

wim leers’s picture

wim leers’s picture

Transferred issue credit!