📄 zeditor.js — Full build (CDN-ready, IIFE format)
📄 zeditor.min.js — Minified version (recommended for production)
📄 zeditor.es.js — ES Module format (for bundlers)
📄 zeditor.css — Editor styles
📄 zeditor.min.css — Minified styles
📄 README.md — Quick start guide
📄 LICENSE — MIT License
📄 example.html — Working example page
How to Use on Hostinger / Any Server
1. Extract zeditor-v1.0.6.zip
2. Upload the folder to your server (e.g., public_html/zeditor/)
3. Link the files in your HTML:
<link rel="stylesheet" href="/zeditor/zeditor.min.css">
<script src="/zeditor/zeditor.min.js"></script>
<div id="editor"></div>
<script>
const editor = new Zeditor('#editor', { height: 450 });
</script>
Changelog
v1.0.6 — Bug Fix Release
July 2025
Fixed: Next.js / React StrictMode double-init bug — File menu opening on click
Fixed: Editor now auto-destroys previous instance when re-initialized on same element
Fixed: destroy() now properly cleans up all internal references
Improved: Live demo now loads from CDN for faster delivery
v1.0.4 — UI & Selection Fixes
June 2025
Fixed: Color picker losing text selection before applying color
Fixed: Selection highlight now visible while changing colors/formatting
Fixed: HTML source view now displays properly with line breaks
Added: Drag-to-resize editor height handle
Added: Font size number input field in toolbar
Added: Math equations dialog with Greek letters, calculus, matrices
Added: Status bar branding — Powered by Zeditor / Developed by ZeSyn.com
Fixed: Emoji picker and special characters now visible in all themes
Fixed: Import/Export toolbar icons updated for clarity