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
The style change to a bulleted list appears to be by design.
raw_editor_state.dart includes code to recognize keys '1.' and space at the start of a line and convert it to a numbered list which I think is very intuitive. (I wasn't aware of this shortcut - thank you for pointing it out)
The same code processes hyphen/dash followed by a space and converts to bulleted list which is a little less intuitive but is a convenient way of easily creating bullet lists.
In my testing on windows and android emulator, both behaved the same way.
I have noticed that the characters have to start the line. If you enter the keys space+dash+space it will not be converted. Is it possible that this is why it did not appear to occur on mobile?
If you feel that this conversion should not occur, then perhaps the best option is for you to enter a 'feature request' and the maintainers can review and decide what is best for all.
Is there an existing issue for this?
Flutter Quill version
9.4.6
Steps to reproduce
In a windows version, after i input
before a new line.
-
and a spaceExpected results
keep input and don't change style.
Actual results
The editor will auto change to a list style like this:
But in mobile version, it not change.
I think in pc and mobile it both shouldn' change the style.
The text was updated successfully, but these errors were encountered: