From ccc0f9188f36b2de51628bddb71f1985b17a7fe3 Mon Sep 17 00:00:00 2001 From: Jason Chen Date: Sun, 23 Oct 2016 18:10:18 -0700 Subject: [PATCH] insert has precedence over delete --- docs/docs/delta.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/delta.md b/docs/docs/delta.md index 91ec85e8d3..e358e2136b 100644 --- a/docs/docs/delta.md +++ b/docs/docs/delta.md @@ -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 } ] } ```