Problem/Motivation
\Drupal\ckeditor5\SmartDefaultSettings::addTagsToSourceEditing returns $messages, but messages are now handled differently by the methods that call this.
This is either an opportunity to remove a few LOC or to add a comment explaining why there are still messages being returned despite none of the calls using a return value.
Comments
Comment #2
wim leersThis might get solved as part of #3245967: Messages upon switching to CKEditor 5 are overwhelming? 🤞
Comment #6
wim leers#2: it didn't get solved as part of that.
#3317769: Add support for linking to entities in CKEditor 5 is touching this file again, and is removing a lot, but won't be removing this particular code. Let's get this cleaned up after that issue is done 😊