fn key_binding(press: KeyPress, empty: bool) -> Option<Binding<Message>>Expand description
What the keys do in the editor: Ctrl+Enter publishes; pasting asks
what is on the clipboard, which may be a file to attach and not text
(see crate::handlers::media); Backspace with nothing in the text
(empty) for it to rub out leaves the composer (see
crate::handlers::compose); and the rest is the editor’s own.