'Support all Font Size values' setting cannot be used with an empty Font Sizes configuration.

Created on 19 June 2023, about 1 year ago
Updated 30 May 2024, 28 days ago

What does this error message even means? I can't understand it.
When I add examples to Font sizes - I get error: 'Support all Font Size values' setting cannot be used with non-numeric Font Sizes configuration.
When I add "123px|Size label" - 'Support all Font Size values' setting cannot be used with non-numeric Font Sizes configuration.

Why do I even need to add there something if I want all values?? So counterintuitive.

πŸ› Bug report
Status

Active

Version

2.0

Component

User interface

Created by

πŸ‡ΊπŸ‡¦Ukraine ollie-db

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

Comments & Activities

  • Issue created by @ollie-db
  • πŸ‡ΊπŸ‡¦Ukraine ollie-db

    When I add just a list of numbers, I get

    Warning: Undefined array key 1 in Drupal\ckeditor_font\Plugin\CKEditor5Plugin\Font::generateFontSetting() (line 323 of modules/contrib/ckeditor_font/src/Plugin/CKEditor5Plugin/Font.php).
    
    Drupal\ckeditor_font\Plugin\CKEditor5Plugin\Font::generateFontSetting('6
    9
    12
    16
    24
    32
    48
    64', 'size') (Line: 184)
    
  • Assigned to danrod
  • πŸ‡ΊπŸ‡ΈUnited States bousley Las Vegas, Nevada

    I'm having the same issue. I cannot add any font sizes. I've tried the following formats without the ordered list (of course):

    • 10px|10px 10
    • 10px|10 10
    • 10px|10
    • 10px|10 Ten

    I get the same error every time even though I have toggled on "Support all Font Size values" or not:

    'Support all Font Size values' setting cannot be used with non-numeric Font Sizes configuration.

  • πŸ‡³πŸ‡±Netherlands myDrupal2014_846824658246

    Did somebody got this solved?

Production build 0.69.0 2024