UNPKG

loki-editor

Version:

Loki Editor is a powerful React WYSIWYG text editor with rich-text features and full customization.

93 lines (66 loc) • 2.85 kB
# Loki React Editor - A Feature-Rich WYSIWYG Text Editor for React **Loki React Editor** is a highly customizable, feature-rich **WYSIWYG** (What You See Is What You Get) text editor for **React** applications. With comprehensive support for text formatting, tables, hyperlinks, and more, it is ideal for developers who need to integrate a robust and flexible **rich-text editor** into their web applications. ![LOKI Editor](https://github.com/Logesh2213/loki-editor/blob/main/text_editor.png ) ## šŸš€ Live Demo Check out the live demo of **Loki React Editor** <a href="https://codesandbox.io/p/devbox/naughty-leavitt-klj54l" target="_blank">here</a>. ## šŸ’– Support the Project If you enjoy using **Loki React Editor** and would like to support its development, consider contributing through <a href="https://buymeacoffee.com/logeshb" target="_blank">Buy Me A Coffee</a>. ## šŸž Report Bugs If you encounter any issues or bugs while using **Loki React Editor**, please report them on our <a href="https://github.com/Logesh2213/loki-editor/issues" target="_blank">GitHub Issues page</a>. --- ## šŸ“¦ Installation Install **Loki Editor** via npm: ```sh npm install loki-editor ``` ## šŸ› ļø Usage 1. Import Loki Editor into your React project: ```javascript import React from 'react'; import TextEditor from 'loki-editor'; import 'loki-editor/dist/TextEditor.css'; ``` 2. Use the editor in your component: ```javascript const App = () => { return ( <div> <TextEditor /> </div> ); }; export default App; ``` ## ✨ Key Features ## šŸ“ Text Formatting - āœ… Bold / Italic / Underline / Strikethrough - āœ… Highlighting & Custom Colors - āœ… Font Styles & Sizes ## šŸ“‘ Lists & Structure - šŸ”¢ Numbered & Bulleted Lists - ā†”ļø Text Alignment (Left, Center, Right) - āŽÆ Insert Horizontal Rules ## šŸ”— Hyperlinks & Navigation - šŸ”— Insert & Edit Links - šŸ“ Bookmarks for Quick Navigation ## šŸŽØ Customization & Styles - šŸ–Œļø Customizable Toolbar & Themes - šŸ“ Supports Custom Plugins ## šŸ”„ Additional Features - ⚔ Lightweight & Fast - 🧩 Easy Integration with Any React App - šŸ”„ Undo & Redo Support ## šŸ–„ļø Browser Compatibility - āœ… Google Chrome (latest) - āœ… Mozilla Firefox (latest) - āœ… Safari (latest) - āœ… Microsoft Edge (latest) ## šŸ’” Why Choose Loki Editor? - šŸŽØ Modern & Customizable - Adapt the toolbar, styles, and themes to your needs. - ⚔ Fast & Lightweight - Optimized for performance in React applications. - šŸ“Œ SEO & Accessibility Focused - Works seamlessly with assistive technologies. šŸ”— MIT Licensed & Open Source - Free for both personal and commercial use. ## šŸ“© Contact & Support For any questions, feedback, or business inquiries, reach out to me at: šŸ“§ Email: logesh.b2213@gmail.com