You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This judgment condition will result in that when the user inputs more than 2 words, the toggledStyle cannot be obtained.
You should distinguish between user pasting and candidate input. The pasted content has styles, while the candidate content in the input method has no style.
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Flutter Quill version
9.3.11
Steps to reproduce
Expected results
No matter how much text is entered, the toolbar switching style will take effect
Actual results
When more than two characters are entered at one time, the switching style will not take effect.
Code sample
After a day of hard work, I have found the code location that caused the bug.
This judgment condition will result in that when the user inputs more than 2 words, the toggledStyle cannot be obtained.
You should distinguish between user pasting and candidate input. The pasted content has styles, while the candidate content in the input method has no style.
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
The text was updated successfully, but these errors were encountered: