cesardias on Nostr: First version of nostr-editor is out, the idea is to have a beautiful user-expirence ...
First version of nostr-editor is out, the idea is to have a beautiful user-expirence when creating notes with WYSIWYG editor (what-you-see-is-what-you-get).
The editor is based on tiptap and prosemirror.
* Framework agnostic (should work with react, svelte and vue)
* Paste a bunch of nostr links (nostr:nprofile, nostr:nevent1) into the editor and will convert it to proper nodes.
* Rejects and raises an alert if a user mistakenly tries to paste a nsec
* NIP-96 and Blossom uploads, you can also select a different upload service for each image / video.
* Markdown support for long-form notes (Asciidoc coming later)
The editor is also capable to parse existing notes into a a content schema, which will be very convenient for basic clients that needs to just render other notes.
demo:
https://cesardeazevedo.github.io/nostr-editor/I will dog food the editor into my client now.
Published at
2024-08-19 13:40:48Event JSON
{
"id": "f482fb2b412275052a71f1c40ee4b8ed5369559243259484262bc5b9196ea289",
"pubkey": "c6603b0f1ccfec625d9c08b753e4f774eaf7d1cf2769223125b5fd4da728019e",
"created_at": 1724074848,
"kind": 1,
"tags": [],
"content": "First version of nostr-editor is out, the idea is to have a beautiful user-expirence when creating notes with WYSIWYG editor (what-you-see-is-what-you-get).\n\nThe editor is based on tiptap and prosemirror.\n\n* Framework agnostic (should work with react, svelte and vue)\n* Paste a bunch of nostr links (nostr:nprofile, nostr:nevent1) into the editor and will convert it to proper nodes.\n* Rejects and raises an alert if a user mistakenly tries to paste a nsec\n* NIP-96 and Blossom uploads, you can also select a different upload service for each image / video.\n* Markdown support for long-form notes (Asciidoc coming later)\n\nThe editor is also capable to parse existing notes into a a content schema, which will be very convenient for basic clients that needs to just render other notes.\n\ndemo: https://cesardeazevedo.github.io/nostr-editor/\n\nI will dog food the editor into my client now.",
"sig": "eb0595efe0adad45c6efc1e4caccdf692084e70396cb26db87d5065a84cb27aba2b1b9d296a0b725a818d9b94d806980882f0e61e2b1c521112f12af6d8871f1"
}