samuwrite.com
samuwrite.com copied to clipboard
WIP editor
Text letter getting closer on mouse select or double click to long text. https://user-images.githubusercontent.com/30283022/133470305-e3394036-a614-4a57-913d-36f8857600bf.mp4 User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0 Firefox's console: 
1. [iA Writer](https://ia.net/writer) 2. [Caret](https://caret.io) 3. [Ulysses](https://ulysses.app) 4. [Nota](https://nota.md/) (as @thien-do said that it is Caret v2)
Currently the site is missing the title. Maybe we should dynamically change the title according to the filename we are editing.
- [x] Sync preview scroll with current editor position - [x] usePreviewScroll hook: receive `editor` param from Preview component, pass to `scrollPreview` function - [x] scrollPreview function: get editor's current...