Closed pacoyang closed 5 years ago
Looks great! Do you mind adding a test exercising this behavior? https://github.com/ConvertKit/slate-plugins/blob/master/packages/slate-blockquotes/__tests__/wrap-blockquote.js.
Let me know if you have any questions.
Change wrap commands to wrap all block nodes in the current selection instead of single block. And add onBackspace handler to remove blank blockquote block.