New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

makzontexteditor

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

makzontexteditor

A customizable rich text editor built with the window select API, React, and Tailwind CSS. It provides a simple and intuitive interface for users to create and format text content with ease.

latest
Source
npmnpm
Version
1.2.6
Version published
Maintainers
1
Created
Source

Makzontexteditor

Makzontexteditor is a modern, customizable, and lightweight rich text editor built with React, TypeScript, and Tailwind CSS. It offers intuitive formatting options, media embedding, and full control over your content creation workflow — perfect for blogs, CMS, note apps, and publishing platforms.

✨ Features

  • 📝 WYSIWYG Rich Text Editing
  • 🎨 Text Styling (bold, italic, underline, colors, font sizes)
  • 📷 Image Embedding Support
  • 🎯 Headings, Lists, and Code Blocks
  • 💾 Built-in Undo/Redo
  • 😎 Emojis Support
  • 📦 Lightweight and Tree-shakable
  • 💅 Styled with TailwindCSS (fully customizable)

📦 Installation

npm install makzontexteditor

or if you're using Yarn:

yarn add makzontexteditor

🛠 Usage

import React from 'react';
import { Makzontexteditor } from 'makzontexteditor';
import 'makzontexteditor/styles.css'; // Optional if the editor includes default styles

function App() {
  return (
    <div className="p-4">
      <Makzontexteditor />
    </div>
  );
}

export default App;

🛠️ Peer Dependencies

To work properly, make sure your project includes the following:

"peerDependencies": {
  "react": "^18.2.0 || ^19.0.0",
  "react-dom": "^18.2.0 || ^19.0.0",
  "tailwindcss": "^3.4.3",
  "react-icons": "^5.5.0",
  "react-router-dom": "^6 || ^7"
}

🧪 Development & Scripts

This project uses Vite for development and Tsup for packaging:

yarn dev          # Run demo locally
yarn build        # Build the package with tsup
yarn demo-build   # Build the demo app separately
yarn preview      # Preview the demo build
yarn lint         # Run linter

⚙️ Props (Coming Soon)

Full props documentation will be added soon. The editor is designed to be flexible and highly customizable.

⚠️ TailwindCSS Setup

  • Your project must have Tailwind CSS installed.
  • Make sure your Tailwind config includes the editor in the content path:

If you are using TailwindCSS in your project, make sure to include the editor in your Tailwind config's content array so styles are properly applied:

// tailwind.config.js
import path from 'path';

export default {
  content: [
    './src/**/*.{js,ts,jsx,tsx}',
    path.join(__dirname, 'node_modules', 'makzontexteditor', '**/*.{js,ts,jsx,tsx}')
  ],
  theme: {
    extend: {},
  },
  plugins: [],
};

## 🖼 Preview

![Editor Preview](./makzontexteditor.png)

---

## 📜 License

This project is licensed under the MIT License.
You're free to use, modify, and distribute this package in personal or commercial projects. Attribution is appreciated but not required.

---

## 🙌 Author

Created by Henry Orji. If you like this project, feel free to ⭐ it and contribute!

---

## 📮 Feedback / Issues

Have a suggestion or found a bug? [Open an issue](https://github.com/henrygad/makzontexteditor.git) or submit a PR.

---

## 🔮 Roadmap

-

Keywords

rich-text-editor

FAQs

Package last updated on 17 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts