Lightweight WYSIWYG Rich Text Editor
Easy to integrate, fully customizable, zero dependencies.
Welcome to the official Neiki's Editor documentation. This wiki covers everything from a 2-minute quick start to advanced plugin development, full API reference, and framework integrations.
[!TIP]
New here? Jump straight to ๐ Getting Started โ you'll have a working editor on your page in under 2 minutes.
๐ Getting Started
Install, initialize, first steps
โ๏ธ Configuration
All options with examples
๐ง Toolbar Reference
Every toolbar button explained
๐ Plugin API
Create custom toolbar extensions
๐ Integration Guide
PHP, Vue, React, Laravel
๐ API Reference
All methods & callbacks
๐งฉ Advanced Features
Tables, images, video, i18n
๐จ Themes & Styling
Theming, CSS customization
๐ Security
Sanitization, XSS protection
๐ Changelog
Version history & release notes
<!-- 1. Include (CSS auto-bundled) -->
<script src="https://cdn.neikiri.dev/neiki-editor/neiki-editor.min.js"></script>
<!-- 2. Add a textarea -->
<textarea id="editor"></textarea>
<!-- 3. Initialize -->
<script>
const editor = new NeikiEditor('#editor');
</script>
[!NOTE]
Zero config required. The<textarea>is replaced by a full-featured WYSIWYG editor automatically.
videoUploadHandler localStorage | Shortcut | Action |
|---|---|
Ctrl+B |
Bold |
Ctrl+I |
Italic |
Ctrl+U |
Underline |
Ctrl+K |
Insert Link |
Ctrl+S |
Save (triggers onSave callback) |
Ctrl+Z |
Undo |
Ctrl+Y / Ctrl+Shift+Z |
Redo |
Tab / Shift+Tab |
Indent / Outdent |
| Browser | Supported |
|---|---|
| Chrome | โ Latest |
| Firefox | โ Latest |
| Safari | โ Latest |
| Edge | โ Latest |
| Opera | โ Latest |
| Internet Explorer | โ Not supported |
[!IMPORTANT]
Neiki's Editor usescontentEditableand standard DOM APIs. All modern browsers are supported. Internet Explorer is not supported.
neiki-editor/
โโโ dist/
โ โโโ neiki-editor.min.js # โ Use this (minified, CSS bundled)
โ โโโ neiki-editor.min.css
โ โโโ neiki-editor.js
โ โโโ neiki-editor.css
โโโ demo/
โ โโโ index.html
โโโ php/
โ โโโ neiki-editor.php # PHP integration helper
โโโ README.md
โโโ CHANGELOG.md
โโโ LICENSE
โโโ package.json
Released under the GNU AGPLv3 License.