1.2.4 • Published 5 months ago

@mindbowser_inc/lexical-text-editor v1.2.4

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

@mindbowser_inc/lexical-text-editor

A lightweight and extensible rich text editor built with Lexical for React applications.

✨ Features

  • ⚙️ Based on Meta’s Lexical framework
  • 🧩 Modular and customizable architecture
  • 📝 Rich content support:

    • Rich text formatting
    • Tables
    • Co blocks
    • Images
    • Links
    • Hashtags
    • Excalidraw integration
    • PDF viewing
    • Attachments support
  • 📤 Export & Render:

    • PDF export using jspdf
    • Image rendering using dom-to-image-more

📦 Installation

npm install @mindbowser_inc/lexical-text-editor
# or
yarn add @mindbowser_inc/lexical-text-editor

⚠️ Make sure you have all required peerDependencies installed in your project. Y can install them manually or use a tool like install-peerdeps.

🚀 Usage

import React from 'react';
import { LexicalRichTextEditor } from '@mindbowser_inc/lexical-text-editor';

function App() {
  return (
    <div style={{ width: '100%, height:'auto' }}>
      <h1>Lexical Rich Text Editor</h1>
      <LexicalRichTextEditor />
    </div>
  );
}

export default App;

🔍 Keywords

This package can be discovered using the following keywords:

"react", "lexical", "editor", "text-editor", "rich-text"

🧱 Build

This package uses tsup to bundle both CommonJS and ESModules for broader compatibility.

📃 License

ISC © Mindbowser

👤 Author

Mindbowser

For feature requests, bug reports, or contributions, please open an issue or submit a pull request on the GitHub repository.