Skip to content

Commit ef61bd7

Browse files
authored
Merge pull request #143 from condorheroblog/main
2 parents cb769fe + 761ac36 commit ef61bd7

File tree

11 files changed

+243
-66
lines changed

11 files changed

+243
-66
lines changed

docs/extensions/ImportWord/index.md

+16
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@ next:
1212

1313
## Usage
1414

15+
::: code-group
16+
17+
```sh [npm]
18+
npm install mammoth
19+
```
20+
21+
```sh [pnpm]
22+
pnpm install mammoth
23+
```
24+
25+
```sh [yarn]
26+
yarn add mammoth
27+
```
28+
29+
:::
30+
1531
```tsx
1632
import { ImportWord } from 'reactjs-tiptap-editor'; // [!code ++]
1733

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@
179179
"execa": "^9.5.2",
180180
"git-scm-hooks": "^0.0.11",
181181
"globby": "^14.0.2",
182+
"mammoth": "^1.9.0",
182183
"md5": "^2.3.0",
183184
"postcss": "^8.4.49",
184185
"postcss-replace": "^2.0.1",

0 commit comments

Comments
 (0)