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
I've looked into this issue and the problem appears to be that styles are associated with characters (content).
Empty lines do not have characters and therefore do not have styles.
When you create a new line (pressing Enter key) the style has to be 'got' from somewhere.
I have been able to update the code to get the style by looking-back past empty lines (but there may be a better way of doing this). This solves your double-enter problem BUT I am concerned that it might introduce undesirable side effects for other users and need more time to explore consequences before submitting a PR.
Please let me know if you have found other 'unexpected' style effects so we can look into them as well.
Is there an existing issue for this?
Flutter Quill version
9.4.5
Steps to reproduce
I think this issue is related to #1119
The styles seem to be kept when pressing enter one time, but they lost if you press twice.
Expected results
Keep styles after pressing Enter twice
Actual results
Styles are lost pressing Enter twice
Code sample
Code sample
[Paste your code here]
Screenshots or Video
Screenshots / Video demonstration
Logs
Logs
[Paste your logs here]
The text was updated successfully, but these errors were encountered: