Fix `renderBlockButton` of rich text example (#2412)
Fix `renderBlockButton` of rich text example (#2412)

By checking if there are blocks in the selection
ianstormtaylor/slate,isubastiCadmus/slate,ianstormtaylor/slate