Constraining block types in draftjs editor

Viewed 495

In draftjs plain paragraphs are given have a block type of unstyled, although draftjs does define a paragraph type. Similarly when pasting, the default block type for p or div tags is unstyled.

What is the reason for this design? Is there a way to instead use paragraph as the default block type for normal paragraphs?

0 Answers
Related