# editor-parse-test

> editor-parse-test

Latest version **1.0.1** (published 2022-07-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install editor-parse-test
pnpm add editor-parse-test
yarn add editor-parse-test
bun add editor-parse-test
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-07-09 |
| First published | 2022-07-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 22.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | xuanhee |
| Keywords | editor |

## Links

- npm: https://www.npmjs.com/package/editor-parse-test
- Repository: https://gitee.com/zhangxuanhe/editor-parse
- npm.io page: https://npm.io/package/editor-parse-test

## Dependencies (8)

- [@babel/cli](https://npm.io/package/@babel/cli.md) ^7.18.6
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.18.6
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.18.6
- [clean-webpack-plugin](https://npm.io/package/clean-webpack-plugin.md) ^4.0.0
- [terser-webpack-plugin](https://npm.io/package/terser-webpack-plugin.md) ^5.3.3
- [@webpack-cli/generators](https://npm.io/package/@webpack-cli/generators.md) ^2.5.0
- [@babel/preset-typescript](https://npm.io/package/@babel/preset-typescript.md) ^7.18.6
- [optimize-css-assets-webpack-plugin](https://npm.io/package/optimize-css-assets-webpack-plugin.md) ^6.0.1

## Recent versions

- 1.0.1 (latest) — 2022-07-09
- 1.0.0 — 2022-07-09

## README

<!--
 * @Description: 
 * @Date: 2022-07-08 17:10:02
 * @LastEditTime: 2022-07-09 16:38:35
 * @LastEditors: 张轩赫
-->
# 设计⼀个简单的展⽰模块
1. 段落需要⽀持的样式：⾏⾼、背景⾊、字颜⾊
2. ⽂本需要⽀持的样式有：加粗、斜体、字颜⾊
3. 表格需要能⽀持 border 宽度和颜⾊，以及是否显⽰表格内线
4. 上⾯的 3 个在全局、引⽤以及节点⾃⾝的样式都要能⽀持。
# HOW TO USE

1. 使用 `npm i editor-parse-test` 安装
2. 在需要使用的地方引入`import { render } from 'editor-parse-test'`
3. 样式文件可根据自己需求是否引入`import 'editor-parse-test/dist/css/index.css'`
4. `render`函数接收一个JSON对象, 并且会返回一个需要渲染的DOM列表,根据需求设置插入到某个节点.例如:
`const renderList = render(data)`
`document.body.append(...renderList)`

---
_Source: https://npm.io/package/editor-parse-test · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
