frederik_diamond on Nostr: Tried to implement my own text editor for my social media portfolio project. It works ...
Tried to implement my own text editor for my social media portfolio project.
It works (sort of), but now that I want to add functionality for bold and italic text, it’s getting pretty complicated.
Since my coding experience is limited, it’s a bit out of scope for a noob like me to implement something this complex.
I need to find a good rich-text editor library. I experimented with Quill and got it working, but I’ve since discovered TipTap and prefer their documentation, so I think I’m gonna use that.
#webdev #dev #nextjs
It works (sort of), but now that I want to add functionality for bold and italic text, it’s getting pretty complicated.
Since my coding experience is limited, it’s a bit out of scope for a noob like me to implement something this complex.
I need to find a good rich-text editor library. I experimented with Quill and got it working, but I’ve since discovered TipTap and prefer their documentation, so I think I’m gonna use that.
#webdev #dev #nextjs
quoting note1nv7…m6csShare Post Feature Added
I recently got the sharing feature to work.
Next step: Implement functionality to quote a post. Quoting a post should also count as a share.
I also need to make the timeline update automatically when a user shares or quotes a post. Currently, the page needs to be refreshed to see changes, which isn't ideal.
The timeline should not automatically update when a user publishes a new post. Instead, it should display a button asking the user if they would like to refresh the feed to see new activity.
It would be annoying if the timeline updated while the user was focused on a post.
I will likely use SWR (by NextJS) to make the timeline update when specific changes occur.
(This project is for my portfolio, btw.)
#Coding #Dev #NextJS #Portfolio #Developer #webdev