- Notifications
You must be signed in to change notification settings - Fork 998
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Have you checked for an existing issue?
- I have searched the existing issues
Flutter Quill Version
11.5.0
Steps to Reproduce
- Add QuillSimpleToolbar with showLineHeightButton: true and set defaultDisplayText in QuillToolbarSelectLineHeightStyleDropdownButtonOptions.
- Use an empty document (no line-height attribute), type and select text.
Expected results
When no line-height attribute is present, the button label shows the provided defaultDisplayText.
Actual results
Label shows 1 (“Normal”); defaultDisplayText is ignored.
Additional Context
Suggested Fix
If attribute.value == null, prefer options.defaultDisplayText before falling back to "Normal".
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working