mb21 / panwriter

Markdown editor with pandoc integration and paginated preview.
https://PanWriter.com
GNU General Public License v3.0
1.04k stars 51 forks source link

Feature request: self-centered formatting #102

Open notalexnot opened 2 years ago

notalexnot commented 2 years ago

Right now, Panwriter offers formatting after selecting the text you want to format, but it would be cool to also offer formatting before selecting. I mean, you press ctrl + b and the ****[cursor] appears, but instead, the cursor moves to the center **[cursor]** and then you write.

Panwriter is becoming one of my favourite editors!

mb21 commented 2 years ago

thanks for the positive feedback!

agreed, that would be nice. haven't time right now, but would probably be a fairly simple change around here: https://github.com/mb21/panwriter/blob/master/src/components/Editor/Editor.tsx#L88