flutter-quill icon indicating copy to clipboard operation
flutter-quill copied to clipboard

Font And Font size, Bold, etc not work

Open 5566 opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

Flutter Quill version

9.3.1

Steps to reproduce

Why I changed the font size,then start input, but the font size of input string is not use the selected font size。。。。。and when I selected some string,then change the font size,the font size of selected strings will changed

Expected results

font and size can work

Actual results

change font and size not work

Code sample

Code sample

var quillToolbar = QuillToolbar.simple( configurations: QuillSimpleToolbarConfigurations( controller: _quillController, showAlignmentButtons: true, showSmallButton: true, multiRowsDisplay: false, fontSizesValues: { '14': '14', '16': '16', '18': '18', '20': '20', '22': '22', '24': '24', '30': '30', '48': '48', }, embedButtons: FlutterQuillEmbeds.toolbarButtons(), // embedButtons: FlutterQuillEmbeds.toolbarButtons( // imageButtonOptions: QuillToolbarImageButtonOptions( // imageButtonConfigurations: QuillToolbarImageConfigurations()),) ), );

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs

5566 avatar Feb 27 '24 12:02 5566

I have the same problem. flutter-quill: 9.2.14 os: android 8

If you enter English, it's OK. But if you enter non-ascii string(Chinese), it does not work at the beginning, and after input some words, it works. I think the problem is calculating the string length.

szuwest avatar Feb 29 '24 09:02 szuwest

+1, the same issue

OHeroJ avatar Apr 15 '24 01:04 OHeroJ

There have been a number of updates relating to this kind of problem. If the current version does not fix this issue, please reopen with details of what is still not working.

AtlasAutocode avatar Aug 10 '24 14:08 AtlasAutocode