Comment

Comment by kevindamm

I use a variation of this as a bookmarklet, perhaps you'll find it useful:

data:text/html,<html contenteditable>

You could probably set that as the URL of your home page to get the behavior you described.

I add a style="height:100%" in the HTML tag so that clicking anywhere puts focus on it for editing. You could add other styling and initial content as desired.

parent kevindamm 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton