Markdown Text Editor turns a plain <textarea> into a full editing suite: a formatting toolbar, hybrid WYSIWYG mode that renders bold, italic and headings while keeping the raw Markdown underneath, live preview, find and replace, and keyboard shortcuts.
Unlike most markdown editors, it never hides the textarea. The original field stays visible and keeps its name attribute, so your form posts exactly as it always did — request.POST in Django, $request->input() in Laravel, params in Rails, req.body in Express. No sync code and no hidden inputs, required fields behave normally, and anything that reads the form directly (FormData, htmx, Turbo, Livewire, autosave) gets the real value rather than an empty string.
Unlike minimal textarea-based editors, it ships the full set: formatting toolbar, hybrid WYSIWYG, live preview, find and replace, image uploads and RTL support for Arabic, Urdu and Farsi — while the textarea stays in charge.
Dark mode comes from a single data-theme attribute. The preview is sanitised with DOMPurify and there are no inline event handlers, so it runs under a strict Content Security Policy. TypeScript definitions and a pluggable renderer are included.
Works standalone — no Frutjam, no Tailwind, no framework required. 51 KB gzipped, no dependencies, usable from npm or a CDN script tag.
No comments or reviews, maybe you want to be first?