Version 2.0
Interactive Demo
Experience Kria Lite v2 Live
Try the full-featured WYSIWYG editor with 40+ tools. Everything works right here in your browser.
Find & Replace
Templates & Snippets
Image Resize & Drag/Drop
Word Count
HTML Output
Quick Actions
v2 Features
Find & Replace
Templates
Snippets
Word Count
Image Resize
Drag & Drop
Highlight
Sub/Superscript
Quick Setup
Add Kria Lite v2 to your project in just 3 lines of code
HTML
<!-- Include the editor script -->
<script src="https://cdn.jsdelivr.net/gh/vinaysikarwar/kria-lite@main/v2/kria.editor.v2.min.js"></script>
<!-- Create a textarea -->
<textarea id="my-editor"></textarea>
JavaScript
// Initialize the editor
const editor = WYSIWYG.v2.init('#my-editor', {
height: 400,
toolbar: [
'bold', 'italic', 'underline', '|',
'h1', 'h2', 'h3', '|',
'ul', 'ol', 'table', '|',
'templates', 'insertSnippet', '|',
'findReplace', 'wordCount', 'fullscreen'
],
features: {
wordCount: true,
findReplace: true,
imageResize: true,
dragDrop: true
}
});