~/talk

Building a rich text editor with Svelte 5

Talkat Svelte Summit Fall 2024 · on Saturday, 2024-10-19· [frontend-architecture, component-design]
links:none on file
slides:none on file

A compact rich-text editor called Svedit reproduces block-aware editing (container cursor, block selection, up/down arrow navigation) by mapping DOM selection to an internal model and rendering with Svelte 5, claiming a ProseMirror-like API in under 1,000 lines; it already supports undo/redo, deletion, and dynamic live sites backed by SQLite, was built in a few hundred hours, and will be published as a 1–2k line template (cut/paste support pending).

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:15Editable websites concept
  3. 4:23Limitations of content editable
  4. 6:11Minimal rich text editor goals
  5. 7:18Block-based editing demo
  6. 9:26Svelte 5 advantages
  7. 10:51Selection mapping magic
  8. 11:11Release and future plans
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.