-
Notifications
You must be signed in to change notification settings - Fork 2
Home
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.
|
|
||||||||||||||||
|
|
<!-- 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.
|
|
|
|
| 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 uses contentEditable and 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.
Getting Started
Reference
Extending
Integration
Features & UI
Project