# @nagwa-limited/html-editor-v2

> ## Introduction

Latest version **1.2.16** (published 2026-01-19) · 0 weekly downloads

## Install

```sh
npm install @nagwa-limited/html-editor-v2
pnpm add @nagwa-limited/html-editor-v2
yarn add @nagwa-limited/html-editor-v2
bun add @nagwa-limited/html-editor-v2
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.2.16 |
| Published | 2026-01-19 |
| First published | 2024-07-28 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 41 |
| Unpacked size | 4.1 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | kerolous amged |
| Maintainers | ahmed-alaa, hebaghazalynagwa, dev.khalidwaleed, zeyadmohamed1805, tokaaly |

## Links

- npm: https://www.npmjs.com/package/@nagwa-limited/html-editor-v2
- npm.io page: https://npm.io/package/@nagwa-limited/html-editor-v2

## Dependencies (41)

- [cpx](https://npm.io/package/cpx.md) ^1.5.0
- [htmr](https://npm.io/package/htmr.md) ^1.0.2
- [uuid](https://npm.io/package/uuid.md) ^9.0.1
- [react](https://npm.io/package/react.md) ^18.3.1
- [nanoid](https://npm.io/package/nanoid.md) ^5.0.7
- [openai](https://npm.io/package/openai.md) ^4.62.0
- [lexical](https://npm.io/package/lexical.md) ^0.14.5
- [prismjs](https://npm.io/package/prismjs.md) ^1.29.0
- [linkedom](https://npm.io/package/linkedom.md) ^0.16.11
- [loadable](https://npm.io/package/loadable.md) ^1.0.0
- [nprogress](https://npm.io/package/nprogress.md) ^0.2.0
- [react-dom](https://npm.io/package/react-dom.md) ^18.3.1
- [ts-pattern](https://npm.io/package/ts-pattern.md) ^5.3.1
- [compressorjs](https://npm.io/package/compressorjs.md) ^1.2.1
- [@lexical/html](https://npm.io/package/@lexical/html.md) ^0.14.5
- [@lexical/link](https://npm.io/package/@lexical/link.md) ^0.14.5
- [@lexical/mark](https://npm.io/package/@lexical/mark.md) ^0.14.5
- [@mui/material](https://npm.io/package/@mui/material.md) ^5.16.7
- [@mui/x-charts](https://npm.io/package/@mui/x-charts.md) ^7.17.0
- [@emotion/react](https://npm.io/package/@emotion/react.md) ^11.13.3
- [@lexical/react](https://npm.io/package/@lexical/react.md) ^0.14.5
- [@lexical/table](https://npm.io/package/@lexical/table.md) 0.14.5
- [@lexical/utils](https://npm.io/package/@lexical/utils.md) ^0.14.5
- [react-geogebra](https://npm.io/package/react-geogebra.md) ^1.2.5
- [@emotion/styled](https://npm.io/package/@emotion/styled.md) ^11.13.0
- [vite-plugin-dts](https://npm.io/package/vite-plugin-dts.md) ^3.9.1
- [@lexical/history](https://npm.io/package/@lexical/history.md) ^0.17.1
- [@lexical/headless](https://npm.io/package/@lexical/headless.md) ^0.14.5
- [@lexical/markdown](https://npm.io/package/@lexical/markdown.md) ^0.14.5
- [@fontsource/roboto](https://npm.io/package/@fontsource/roboto.md) ^5.1.0
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) ^0.17.1
- [@lexical/rich-text](https://npm.io/package/@lexical/rich-text.md) ^0.17.1
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) ^0.14.5
- [@loadable/component](https://npm.io/package/@loadable/component.md) ^5.16.4
- [@mui/icons-material](https://npm.io/package/@mui/icons-material.md) ^5.16.7
- [vite-plugin-prismjs](https://npm.io/package/vite-plugin-prismjs.md) ^0.0.11
- [babel-plugin-prismjs](https://npm.io/package/babel-plugin-prismjs.md) ^2.1.0
- [vite-plugin-externals](https://npm.io/package/vite-plugin-externals.md) ^0.6.2
- [@excalidraw/excalidraw](https://npm.io/package/@excalidraw/excalidraw.md) ^0.17.6
- [@nagwa-limited/mathlive](https://npm.io/package/@nagwa-limited/mathlive.md) ^3.3.31
- [@nagwa-limited/kashida-engine](https://npm.io/package/@nagwa-limited/kashida-engine.md) ^0.2.0

## Recent versions

- 1.2.16 (latest) — 2026-01-19
- 1.2.15 — 2025-12-09
- 1.2.14 — 2025-11-18
- 1.2.13 — 2025-11-11
- 1.2.12 — 2025-10-19
- 1.2.11 — 2025-03-20
- 1.2.10 — 2025-03-18
- 1.2.9 — 2025-03-13
- 1.2.8 — 2025-03-12
- 1.2.7 — 2025-03-12
- 1.2.6 — 2025-02-13
- 1.2.5 — 2025-02-06
- 1.2.4 — 2025-01-28
- 1.2.3 — 2025-01-22
- 1.2.2 — 2025-01-21
- … 88 more at https://npm.io/package/@nagwa-limited/html-editor-v2/versions

## README

# Nagwa HTML Editor

## Introduction

This project provides a WYSIWYG editor that is used in Nagwa internal systems to author content. Currently the editor is used in 2 internal Nagwa projects:

- New CDS (Authoring Tool): New CDS [Content development system] is the system used by Nagwa content teams to author questions. The editor is used inside the authoring tool project, which in turn is used in the newcds.nagwa.com
- CodeBites admin area: The editor is used in CodeBites admin area to author explainers and challenges for CodeBites website.

## Technology

The Nagwa HTML Editor uses [Lexical](https://lexical.dev/). Lexical is considered a framework for creating editors with extended capibilities.

## Used Lexical plugins

This project uses the following Lexical plugins (from Lexical framework):

- **[RichTextPlugin](https://lexical.dev/docs/packages/lexical-rich-text)**: provides rich text editing, including typing, deletion, copy/pasting, indent/outdent and bold/italic/underline/strikethrough text formatting
- **CheckListPlugin**: adds support for check lists
- **[LinkPlugin](https://lexical.dev/docs/packages/lexical-link)**: adds support for links
- **ClickableLinkPlugin**: redirect to a URL when clicking on a link in edit mode, Finds the nearest link node on click and opens the link
- **TabFocusPlugin**: Used to preserve text selection when using the Tab key
- **TabIndentationPlugin**: adds the ability to indent content using the tab key
- **ListMaxIndentLevelPlugin**: Limits the maximum indentation level in a list

The project also defines the following plugins:

---
_Source: https://npm.io/package/@nagwa-limited/html-editor-v2 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
