Skip to content

Commit

Permalink
Merge pull request #6 from hqwlkj/dev
Browse files Browse the repository at this point in the history
fix: package name
  • Loading branch information
hqwlkj authored Oct 27, 2022
2 parents f170512 + 07abaee commit d6b64c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
## Installation

```shell
yarn add @wangeditor/plugin-float-image
yarn add wangeditor-plugin-float-image
```

## Usage
Expand All @@ -21,7 +21,7 @@ yarn add @wangeditor/plugin-float-image

```js
import { Boot } from '@wangeditor/editor'
import floatImageModule from '@wangeditor/plugin-float-image'
import floatImageModule from 'wangeditor-plugin-float-image'

// Register
// You should register this before create editor, and register only once (not repeatedly).
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
## 安装

```shell
yarn add @wangeditor/plugin-float-image
yarn add wangeditor-plugin-float-image
```

## 使用
Expand All @@ -21,7 +21,7 @@ yarn add @wangeditor/plugin-float-image

```js
import { Boot } from '@wangeditor/editor'
import floatImageModule from '@wangeditor/plugin-float-image'
import floatImageModule from 'wangeditor-plugin-float-image'

// 注册。要在创建编辑器之前注册,且只能注册一次,不可重复注册。
Boot.registerModule(floatImageModule)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hqwlkj/wangeditor-plugin-float-image",
"version": "0.0.1-alpha.2",
"name": "wangeditor-plugin-float-image",
"version": "0.0.1-alpha.3",
"description": "wangEditor float-image plugin",
"repository": {
"type": "git",
Expand Down

0 comments on commit d6b64c0

Please sign in to comment.