Christian Grøngaard
banner
hamburger.cloud
Christian Grøngaard
@hamburger.cloud
Father of two children and countless software bugs

Currently working on the text editor used in the very core of the @Sanity.io Content Operating System: https://github.com/portabletext/editor.
Replaced the boring buttons with some type controls!

(🤫 This is actually a really good showcase for input rules: github.com/portabletext...)
October 20, 2025 at 5:01 PM
Couldn't sleep so I built Game of Life in @sanity.io's Portable Text Editor

👉 portable-text-of-life.vercel.app

🧑‍💻 github.com/portabletext...
October 17, 2025 at 9:55 AM
Now that's what I call vacation
August 4, 2025 at 11:06 AM
Partial solar eclipse, March 29, as seen from Denmark (through the right glasses)
March 30, 2025 at 3:40 PM
Found my Wolfenstein 3D floppy
March 16, 2025 at 9:01 AM
My MacBook from 2007. Still boots. And I still hate computers.
February 23, 2025 at 9:24 AM
Hi 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
February 14, 2025 at 10:18 AM
It 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.
February 8, 2025 at 4:19 PM
The 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 that restricts the editor to one block.
February 3, 2025 at 4:03 PM
Trying to use Copilot for a simple, boring task
January 14, 2025 at 5:48 PM
Me releasing I've spent the past 10 years writing JavaScript full-time
January 5, 2025 at 7:23 PM
Opened 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?
January 2, 2025 at 6:44 AM
git: I'm dying

me: git checkout -b docs-fix-typo-2
December 17, 2024 at 11:32 AM
I want to see _the_ video 😭
December 8, 2024 at 8:43 PM
I've used Little Snitch for 16 years. Of course I'm going to upgrade when they release a new major version.
December 2, 2024 at 12:05 PM
Looks like @github.com fixed the merge experience 😲
November 15, 2024 at 2:45 PM
Seeing 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...
November 13, 2024 at 9:56 AM
Time to get off that other platform
November 7, 2024 at 8:14 AM
One 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....
November 4, 2024 at 10:49 AM
It'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.
November 3, 2024 at 6:07 PM
"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...
October 31, 2024 at 9:17 PM