# @talltotal/vuepress-plugin-editor

> editor plugin for vuepress

Latest version **0.0.6** (published 2022-10-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @talltotal/vuepress-plugin-editor
pnpm add @talltotal/vuepress-plugin-editor
yarn add @talltotal/vuepress-plugin-editor
bun add @talltotal/vuepress-plugin-editor
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2022-10-28 |
| First published | 2020-07-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 37.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | talltotal |
| Maintainers | talltotal |
| Keywords | rich editor, editor, vue, vuepress, vuepress-plugin |

## Links

- npm: https://www.npmjs.com/package/@talltotal/vuepress-plugin-editor
- Repository: https://github.com/talltotal/vuepress-plugin-editor
- Homepage: https://talltotal.github.io/vuepress-plugin-editor/
- Issues: https://github.com/talltotal/vuepress-plugin-editor/issues
- npm.io page: https://npm.io/package/@talltotal/vuepress-plugin-editor

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 0.0.6 (latest) — 2022-10-28
- 0.0.5 — 2022-08-23
- 0.0.4 — 2021-06-02
- 0.0.3 — 2021-06-02
- 0.0.2 — 2020-10-06
- 0.0.1 — 2020-07-24

## README

# [@talltotal/vuepress-plugin-editor](https://talltotal.github.io/vuepress-plugin-editor/)

在VuePress文档中做一些简单的富文本操作。


## install
```bash
yarn add -D @talltotal/vuepress-plugin-editor
# OR npm install -D @talltotal/vuepress-plugin-editor
```

## Usage
### 在 `config.js` 中引入
```js
module.exports = {
    plugins: [
        ['@talltotal/vuepress-plugin-editor', { editableInProd: false }]
    ]
}
```

### 在 md 文档中使用
直接在文档中以组件元素的形式使用，接收两个参数：
- `name` 模块的名字，需全站唯一
- `type` ‘light’或‘dark’，主题色
- `hideControls` 隐藏操作区
- `minArea` 在组件内划分横向的区域数

```md
<editor name="file-name" />

<editor name="file-name1" type="dark" />
```


### 编辑区快捷键
- tab：4个空格
- command+-：字体缩小
- command++：字体放大
- command+s：保存提交
- command+b：加粗
- command+i：斜体

![demo](./test/20200724210531.jpg)

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