- Issue created by @anou
- π³π΄Norway svenryen
There is a workaround, and you need the patch in https://www.drupal.org/project/ckeditor5_font/issues/3350333#comment-150... π TypeError: array_filter(): Argument #1 ($array) must be of type array RTBC .
Steps:
1) Apply the patch
2) Edit the text format and add the color button
3) Save the tet format by submitting the form
4) Edit the text format againResult
You can now add colors to the text format config. - Status changed to Needs review
about 1 year ago 11:00am 10 October 2023 - π³π΄Norway svenryen
I have to add one more step. It seems like you need this patch to attach an admin library, which would make the admin UI elements work as intended.
- @svenryen opened merge request.
- πΊπΈUnited States brad.bulger
I can confirm that I am able to define custom colors in the CKEditor plugin settings for Font Colors after applying the patch from π TypeError: array_filter(): Argument #1 ($array) must be of type array RTBC . I had to disable the button, clear the cache, and then enable it again to get it to show up.
I guess the way to add a color to the default palette would be to export, edit, then import the config?