Online rich text editor with live HTML preview. Format content visually using toolbar buttons and export clean, minified HTML code for emails and CMS.
WYSIWYG stands for What You See Is What You Get. The editor displays content as it will appear in a browser.
The editor generates semantic HTML5 and avoids inline styles where possible.
The editor outputs standard semantic tags with no embedded CSS. Include a stylesheet targeting h1-h6, p, strong, em, ul, ol elements — use GitHub Markdown CSS or your existing typography. Never rely on editor inline styles for production.
Common issues: redundant nested tags and inline styles (hard to maintain); garbage styles when pasting from Word; inconsistent editing behavior across browsers; output HTML may contain XSS risks (requires server-side sanitization); poor semantics (lots of span style= instead of semantic elements like h2, strong). Always sanitize output server-side using DOMPurify or similar libraries.