Paragraph
Normal text will be rendered by the p
tag in HTML.
toggleParagraph #
In order to change the block type into paragraph you can use toggleParagraph
utility:
isParagraph #
This utility helps you to find out if the current block is a paragraph block or not which can be handy in styling.
NOTE: If the block type is unstyled, the isParagraph
utility will return true as well.
Example #
An example of toggleParagraph
and isParagraph
usage: