TAEditor brings CKEditor / TinyMCE features to your page in about 29 KB, with zero runtime dependencies and no bundler required. Works with plain HTML, Bootstrap, or Tailwind.
TAEditor ships the formatting tools your users actually use, and stays out of the way of your stack.
Bold, italic, underline, headings, lists, links, blockquote, horizontal rules — every standard formatting tool.
Insert N×M tables with row/column add/remove menus. Code blocks have a real code-editor Tab — indent and outdent multi-line selections.
KaTeX-rendered LaTeX, fully round-trippable. The source LaTeX is preserved on the element, so loading a saved document is lossless.
Base64 by default — works offline. Or POST to your endpoint, or hand off to an async upload handler for S3, signed URLs, or any custom flow.
Built-in HTML sanitizer strips <script>, inline event handlers, and javascript: URLs on paste and on load.
All CSS is namespaced under .ta-editor. Works inside Bootstrap forms, Tailwind layouts, or plain HTML — no class collisions.
That's the whole setup. Wrap a <textarea> in a <form> and the editor syncs its HTML back on submit — your server-side handler doesn't change.
TAEditor.create('#editor')TAEditor.create('.editor') (upgrades every match)TAEditor.create('textarea') (every textarea on the page)<link rel="stylesheet" href="…/taeditor.min.css"> <script src="…/taeditor.min.js"></script> <textarea id="editor" name="content"></textarea> <script> TAEditor.create('#editor'); </script>
Configure the toolbar to fit the surface — keep it minimal for short input, light it up for full editing.
Replace your textarea with a full editor: headings, images, tables, code blocks, math. The HTML output drops straight into your database — no schema changes needed.
Strip the toolbar to the essentials (bold, italic, link, lists) for a compact, fast input that still beats a plain textarea.
Round-trippable math equations and code-editor-style Tab make TAEditor a natural fit for technical writing, wikis, and engineering notes.
No install, no signup. Open the playground and start typing.