Comment

Comment by KaTXi

Hi HN! I built this WYSIWYG editor as an extraction from the admin of a gaming news site (todojuegos.com) I've maintained since the early 2000s. The main goal was to have a full-featured editor with zero npm dependencies, just a single JS + CSS file.

Key features: 35+ built-in features, 7 languages, dark/light themes, slash commands, Markdown import/export, table editing, emoji picker, code blocks... all at ~120KB with no external dependencies.

It uses contentEditable + document.execCommand (yes, I know it's "deprecated" but it works reliably across browsers).

Live demo: https://katxi.github.io/zero-wysiwyg/

parent KaTXi 6 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton