Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fit text issue
  • Loading branch information
sidharthpandita1 committed Oct 13, 2025
commit 3723964974534ff970263baf24d6452dff4f11e5
4 changes: 3 additions & 1 deletion packages/block-editor/src/hooks/fit-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ export function FitTextControl( {
help={
fitText
? __( 'Text will resize to fit its container.' )
: __( 'Resize text to fit its container.' )
: __(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

I think it's better to update the above help message to something like Text will resize to fit its container. Noting that any existing font size setting is overridden..

@jasmussen or @jorgefilipecosta any suggestions for better copy?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good PR, good instincts, good feedback.

Absent larger changes, yes I think a good and clear help message can work. One instinct would be

The text will resize to fit its container, overriding any specified font size.

'Font size setting is overriden when enabled'
)
}
/>
</ToolsPanelItem>
Expand Down
Loading