Experiments >

Live page editing

Experiment #5919th March, 2021by Joshua Nussbaum

Today I investigated how to live edit content visually. It turned out to be straightforward with Svelte. It was just a matter of enabling contenteditable on an element and data binding the innerHTML property.

Code

https://svelte.dev/repl/d97d3a8607594af5b6c1fbdce6410991?version=3.35.0

Demo

view all experiments

Stay tuned in

Learn how to add more experimentation to your workflow