2 ms·
I think Notion made this "slash command" block editor popular, but the underlying editor most of these editors use is actually TipTap: https://tiptap.dev/docs/e
by Leftium 2y ago
I think Notion made this "slash command" block editor popular, but the underlying editor most of these editors use is actually TipTap: https://tiptap.dev/docs/examples/experiments/slash-commands https://tiptap.dev/docs/examples/experiments/slash-commands
Or perhaps Notion invented the slash commands? Not sure now...
---
Also: perhaps localstorage doesn't work for you (platform, permissions, browser, etc) so the account seems required.
- jitl 2y ago(I work at Notion) TipTap came out after Notion slash commands so I’m pretty sure they were inspired by Notion - there are a lot of open source packages implementing Notion UI patterns these days :) Notion and Affine are actually both custom contenteditable codebases, neither use TipTap/Prosemirror or any other off the shelf framework for rich text editing. Affine implemented their editor using web components which I found interesting. However going your own way an be bumpy, last time I reviewed their code it didn’t work well on iOS; these days the website doesn’t let you view the editor unless you’re on desktop but maybe they fixed it. My advice to anyone who wants to do rich text editors is: use ProseMirror (TipTap or anything on top seems fine too), DO NOT use Slate. Slate doesn’t work well on Android!!