Show HN: SlateJS(rich text editor) Svelte view layer

(nathanfaucett.github.io)

39 points | by nathanfaucett 828 days ago

2 comments

  • adamredwoods 828 days ago
    I found the mouse cursor controls for selecting to be worse than SlateJS, very difficult to select a portion of text in a very large document (copy/paste from something huge).
    • me_bx 827 days ago
      The `Home` and `End` keys do not behave as expected either, neither to navigate nor to select portions of lines...
    • nathanfaucett 828 days ago
      thanks for pointing that out, have not stress tested this yet
  • melissalobos 828 days ago
    So this is a view layer for Svelte of Slate? Like if I used Svelte I would add this in to get SlateJS incorporated in my app? I don't have a lot of context for this, could you tell us more about the project and your motivations?

    Edit: Also this looks neat, thank you!

    • nathanfaucett 828 days ago
      yeah, I have a svelte project and I wanted to use slatejs but could not find a package and did not want to include react