modern-monaco-svelte

Drag & drop text

Select a line (or a whole selection), then drag it to a new spot in the list to reorder it — no cut/paste needed.

Loading editor…

Word-based suggestions

No language server is backing this editor — completions here fall back to words already present in the document. Start typing one of the repeated words above (try "zambez") and press Ctrl+Space to see it suggested.

Loading editor…

Format on paste / format on type

This snippet is intentionally messy. Type a new line ending in ; or } to trigger format-on-type, or select all (Cmd/Ctrl+A), cut, and paste it right back to trigger format-on-paste.

Loading editor…