-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
The UnderlinedSpan does not display for the text that the cursor is on in the flutter quill editor. Refer to the screenshots for examples. Note this issue is not referring to the underline option provided by the toolbar.
For more context about UnderlinedSpan, it seems to be based on the user device settings but the flutter quill editor seems like it does not follow the settings.
I suspect this may be intentional because the UnderlinedSpan may conflict with the underline toolbar option? If so, is there a workaround where we can include the UnderlinedSpan for the text that the cursor is on if the option is enabled in the user's device?
For more info about the UnderlinedSpan: https://stackoverflow.com/a/52587675
Examples
TextFormField with the text underlined when the cursor is on the text:
Flutter quill editor with the text NOT underlined when the cursor is on the text:
Screen recording to demonstrate:
quill_text_underline.mp4
Specs
- Flutter version: 2.5.2
- Device: Pixel 4 API 30

