Skip to content

Commit

Permalink
fix slab#17
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Oct 5, 2017
1 parent dafd991 commit 9fdc01e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,14 @@ Appends an insert operation. Returns `this` for chainability.
#### Parameters

- `text` - String representing text to insert
- `embed` - Number representing embed type to insert
- `embed` - Object representing embed type to insert
- `attributes` - Optional attributes to apply

#### Example

```js
delta.insert('Text', { bold: true, color: '#ccc' });
delta.insert(1, { src: 'https://octodex.github.com/images/labtocat.png' });
delta.insert({ image: 'https://octodex.github.com/images/labtocat.png' });
```

---
Expand Down

0 comments on commit 9fdc01e

Please sign in to comment.