fleather
fleather copied to clipboard
Next Line formatting
Question: Do we have any feature to continue the selected formatting to next line? Like we have selected "Bold", "Italic", "Underline" and I hit enter. in the next line it has been reset back to the original state. Is there any way to retain it?
Yes it makes sense
The editor was designed to reset all inline format when inserting a new paragraph. In the meanwhile, you can try designing your own heuristic rule to implement the desired behavior (https://github.com/fleather-editor/fleather/blob/master/packages/parchment/lib/src/heuristics/insert_rules.dart)
We'd be very interested if you could share your findings