openwrite-editor
v1.0.1
Published
OpenWrite - A lightweight WYSIWYG Web Component with React support and plugin system.
Downloads
9
Maintainers
Readme
OpenWrite Editor
OpenWrite is a lightweight, framework-agnostic WYSIWYG editor built with Web Components and plugin support. It includes a React wrapper for seamless integration in React apps.
Features
- 🔌 Plugin-based toolbar (custom buttons)
- ⚙️ Configurable toolbar via attribute
- 🧩 React wrapper included
- 🚀 Lightweight & no external dependencies
Usage
In React
npm install openwrite-editorimport 'openwrite-editor';
import OpenWrite from 'openwrite-editor/react';
<OpenWrite value={value} onChange={setValue} />In HTML
<script type="module" src="https://cdn.jsdelivr.net/npm/openwrite-editor"></script>
<open-write toolbar="bold,italic,underline"></open-write>License
MIT
