pull down to refresh

@guerratotal and @supratic #692783 is still something I want to implement.
This post focuses on the early capabilities of the new editor, but not so much about UX. That's going to be featured in a later post.
Wow, bro, thanks so much... excellent work!!!
I'm going to use it today, in fact, I think right now hahahah...!!!
reply
23 sats \ 1 reply \ @sox OP 2h
This is only a preview, it’s going to come out in ~2 weeks
reply
:´(
reply
100 sats \ 1 reply \ @supratic 5h
NFW, That's great! This will enable a creativity exploit on SN.
Still, would be nice to have:
  • the editor menu following the user when scrolling
  • keyboard shortcut for switching between editor and preview
  • documented keyboard short codes (or leave it as easter eggs)
reply
33 sats \ 0 replies \ @sox OP 5h
Well, thank you!
  • the editor menu following the user when scrolling
    • in progress
  • keyboard shortcut for switching between editor and preview
export const EDITOR_SHORTCUTS = [
  {
    action: 'toggleMode',
    combo: 'mod+shift+m',
    handler: ({ editor }) => {
      editor.dispatchCommand(SN_TOGGLE_MODE_COMMAND)
    }
  },
  • documented keyboard short codes
    • there's gonna be an overwhelming modal for this, because every action has a shortcut, but I didn't do it yet because the idea already overwhelmed me lol
reply