What is Nostr?
cesardias / Cesar Dias
npub1ces…t37c
2024-08-19 13:40:48

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.
Author Public Key
npub1cesrkrcuelkxyhvupzm48e8hwn4005w0ya5jyvf9kh75mfegqx0q4kt37c