Diy

Posts from the diy category.

Sort Posts

My Happy Place

A lot of friends ask me. Some wonder secretly. Why do I build random stuff? The answer is simple. It makes me happy. I have benefited immensely from the stuff I have built. Personal satisfaction has been the biggest benefit. But when you have stuff to show, it also becomes easier to land jobs and promotions. This is possible only when you build something. I highly recommend it.I realize that I m...

Because why buy new when you can glue & redo?

There is something really amazing about keeping things simple. Check this Zippered Kit, for example. It's just a straightforward, tough little pouch to store…anything. I got it recently made, from my old scarcely used cushion covers. The cushions are long gone, but the covers got a new life as these handy pouches!! #Upcycle #Upcycling #Repurpose #Recycle #SustainableLiving #EcoFriendly #ZeroWaste ...

Emoji picker for tiptap

The official tiptap emoji picker extension is a pro extension. Meaning you have to pay for using it. It is easy enough to build this extension by extending the existing Mention plugin from tiptap.The key is to use the Mention node with a custom suggestion utility.  Mention.configure({\r\n renderHTML({ options, node }) {\r\n return [\r\n \span\,\r\n ...

Custom Links in tiptap

Today I came across a scenario where I wanted to modify the default behavior of some <a> links in tiptap editor. The requirement was if the <a> link has an href attribute starting with /map clicking the link should not open the a new tab.  Opening a new tab loads the entire app again in another tab and breaks the user’s context. The Link extension in tiptap let’s you set target to null. However, d...