**Describe the bug** getting TypeError: Cannot read properties of undefined (reading 'type') **To Reproduce** 1. set trailingBlock: false 2. now add any of image, audio, video, file at the last block from slash menu then getting this error in console.