@lilac-wysiwyg/vanilla
v0.7.1
Published
Vanilla JS adapter for Lilac WYSIWYG editor - Pure JavaScript/TypeScript without framework dependencies
Maintainers
Readme
@lilac-wysiwyg/vanilla
Pure JavaScript/TypeScript wrapper for the Lilac WYSIWYG editor — no framework dependencies.
Part of Lilac — a smooth, modern, framework-agnostic WYSIWYG editor with a TypeScript core.
Installation
npm install @lilac-wysiwyg/vanillaRequires no framework.
Usage
import { LilacEditor } from '@lilac-wysiwyg/vanilla';
const editor = new LilacEditor({
container: document.getElementById('editor'),
toolbar: { show: true },
});Documentation
Full documentation and examples: https://maifeeulasad.github.io/lilac/vanilla.html
The API reference for the underlying editor lives in the main README.
License
MIT © Maifee Ul Asad
