move some pages
This commit is contained in:
22
docs/src/data/posts/installation.md
Normal file
22
docs/src/data/posts/installation.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Installation
|
||||
|
||||
```bash
|
||||
# Using npm
|
||||
npm install @tiptap/core
|
||||
|
||||
# Using Yarn
|
||||
yarn add @tiptap/core
|
||||
```
|
||||
|
||||
## Quick Start
|
||||
|
||||
```js
|
||||
import { Editor } from '@tiptap/core'
|
||||
import extensions from '@tiptap/starter-kit'
|
||||
|
||||
new Editor({
|
||||
element: document.getElementsByClassName('element'),
|
||||
extensions: extensions(),
|
||||
content: '<p>Hey there.</p>',
|
||||
})
|
||||
```
|
||||
Reference in New Issue
Block a user