Editing font-size in Paragraph or Heading block causes error on page

Created on 2 January 2025, 3 months ago

Problem/Motivation

In heading block and paragraph block, when I adjust the font size in the side panel, it says "This block encountered an error and cannot be previwed"

In the console, it says "TypeError: fontSizeValue?.startWith is not a function"

Here are 2 videos:

Paragraph Block
https://www.youtube.com/watch?v=Oux1l7ehs8g

Heading Block
https://www.youtube.com/watch?v=8nTCtQIYRqk

Steps to reproduce

1. Tried 3 different Drupal 10 websites using Gutenberg theme, Bootstrap theme, and custom theme
2. Add a heading or paragraph block. Add text and adjust the size via side panel.
3. View the console message.
4. Tried disabling all modules and still get the same issue.
5. Tried a 4th Drupal 10 empty install with Gutenberg module and same issue.
6. Tried clearing cache and same issue.
7. Checked drush watchdog, drush status, and drush rq and no issues.
8. Tried in WordPress 6.7.1 and works normally.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

๐Ÿ‡ฆ๐Ÿ‡ฝร…land Islands albertho425 Seattle, WA

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