FeatherText

A modern, dependency‑free rich text editor with themes, smart toolbar, and a tiny API surface. Drop it in and start typing.

Clean UI

Sticky toolbar with tooltips, grouped controls, and tasteful defaults.

Themes

Dark, Light, Ocean, Forest, and Dark‑B—swap instantly or define your own.

Simple API

Initialize in one line. Update toolbar, theme, or content at runtime.

No Dependencies

One CSS + one JS. Copy, paste, and go.

Usage

<link rel="stylesheet" href="feathertext.css">
<script src="feathertext.js"></script>

<textarea id="editor"></textarea>

<script>
	const [editor] = FeatherText.init('#editor', {
		theme: 'dark',
		toolbar: ['format','bold','italic','underline','|','link','image','|','ul','ol','|','forecolor','backcolor','|','undo','redo','|','source']
	});
</script>