Skip to content

Commit

Permalink
insert has precedence over delete
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen authored and Tim McClure committed Dec 12, 2016
1 parent 1f5bd75 commit ccc0f91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/docs/delta.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ Starting with the above "Gandalf the Grey" example:
// Keep " the " as is
{ retain: 5 },

// Delete "Grey"
{ delete: 4 },

// Insert "White" formatted with color #fff
{ insert: "White", attributes: { color: '#fff' } }
{ insert: "White", attributes: { color: '#fff' } },

// Delete "Grey"
{ delete: 4 }
]
}
```
Expand Down

0 comments on commit ccc0f91

Please sign in to comment.