Rich text / foldkit-mixins-richtext
blockStyles
function · packages/mixins-richtext/src/style.ts:45
function blockStyles<Message>(): SlotView.SlotView<
typeof BlockStyleSlots,
BlockStyleInput<Message>,
Message
>The block style picker as a slot view. The button for the style the selection's block has is pressed; none is in a code block, or at a heading level the list does not offer. Every button is disabled without a text selection — a node selection, or none — because a retype there is refused.