Christian Grøngaard @hamburger.cloud · 20/10/2025Replaced the boring buttons with some type controls! (🤫 This is actually a really good showcase for input rules: github.com/portabletext...) 000
Christian Grøngaard @hamburger.cloud · 17/10/2025Couldn't sleep so I built Game of Life in @sanity.io's Portable Text Editor 👉 portable-text-of-life.vercel.app 🧑💻 github.com/portabletext... 2195
Christian Grøngaard @hamburger.cloud · 30/03/2025Partial solar eclipse, March 29, as seen from Denmark (through the right glasses) 030
Christian Grøngaard @hamburger.cloud · 23/02/2025My MacBook from 2007. Still boots. And I still hate computers. 020
Christian Grøngaard @hamburger.cloud · 14/02/2025Hi there! We are working on a new API (currently beta) for PTE that allows you to easier customise the editor behaviours: www.portabletext.org/concepts/beh... Behavious can be bundled in plugins and the most fully-fledged plugin we've made so far is a Markdown plugin: playground.portabletext.org 110
Christian Grøngaard @hamburger.cloud · 08/02/2025It really is a special feeling sitting in your car, listening to a podcast, as you've done so many times before, but this time YOU'RE THE GUEST! Thank you, @simeongriggs.dev, for inviting me on to talk about Portable Text, text editors, Behaviours, Gherkin and state machines and more. 092
Christian Grøngaard @hamburger.cloud · 03/02/2025The Behavior API for @sanity.io's Portable Text Editor will allow you to configure the editor in ways that where previously not possible. Behaviors can be bundled in Plugins to easily turn them on and off. Here's an example of a simple <OneLinePlugin /> that restricts the editor to one block. 2113
Christian Grøngaard @hamburger.cloud · 05/01/2025Me releasing I've spent the past 10 years writing JavaScript full-time 130
Christian Grøngaard @hamburger.cloud · 02/01/2025Opened up my work laptop after almost two weeks off and this is the first thing that meets me. I guess I left in the middle of a debug session? 040
Christian Grøngaard @hamburger.cloud · 17/12/2024git: I'm dying me: git checkout -b docs-fix-typo-2 030
Christian Grøngaard @hamburger.cloud · 02/12/2024I've used Little Snitch for 16 years. Of course I'm going to upgrade when they release a new major version. 010
Christian Grøngaard @hamburger.cloud · 15/11/2024Looks like @github.com fixed the merge experience 😲 000
Christian Grøngaard @hamburger.cloud · 13/11/2024Seeing this in the XState release notes takes me back to when I was first introduced to XState back in 2017. Just a little functional, stateless JS library where Machines had a `.transition()` method to advance to the next state. Still love and use XState to this day. github.com/statelyai/xs... 000
Christian Grøngaard @hamburger.cloud · 04/11/2024One of the things I love about Gherkin is that it literally only takes seconds to add new scenarios if you have a good set of existing steps to use. Here, I've expanded a Scenario Outline with a few more examples to root out an edge I just found in github.com/portabletext.... 010
Christian Grøngaard @hamburger.cloud · 03/11/2024It's absolutely wild that there exists more than 900,000,000 ways to combine six 2×4 LEGO bricks. Here's combo #659,297,982. 030
Christian Grøngaard @hamburger.cloud · 31/10/2024"Testing is documenting" Especially if your tests are written in a human-readable language. I'm currently working on @sanity.io's text editor, and here Gherkin is working really well for documenting and keeping all the different behaviours in check. github.com/portabletext... 151