refactoring

This commit is contained in:
Philipp Kühn
2020-04-18 17:05:29 +02:00
parent cb8968061c
commit b6d87326ee
11 changed files with 55 additions and 128 deletions

View File

@@ -1,7 +1,4 @@
---
title: Advanced Example
slug: advanced-example
---
# Advanced Example
Use a custom list of extensions.

View File

@@ -1,7 +1,4 @@
---
title: Basic Example
slug: basic-example
---
# Basic Example
This is a basic example of tiptap.

View File

@@ -1,7 +1,4 @@
---
title: Install
slug: install
---
# Install
```bash
# Using npm
@@ -9,4 +6,17 @@ 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>',
})
```

View File

@@ -1,7 +1,4 @@
---
title: React
slug: react
---
# React
This is a basic example of tiptap.