You have to use ```editing.delete()``` because range.deleteContents() is a browser implementation (which doesn't delete things correctly).