Warning: Undefined property: Drupal\ckeditor_templates_ui\Entity\CkeditorTemplates::$icon if no icon set for the template

Created on 23 January 2025, 2 months ago

Problem/Motivation

Steps to reproduce

Create a template without specifying icon/path to the icon.
Add template button to the ckeditor toolbar.
Open any page with ckeditor toolbar and observe the warning.

Proposed resolution

Add check on the property existence.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024