7,571
Restrict the editor to a single block.
npm install @udecode/plate-break
import { createSingleLinePlugin } from '@udecode/plate-break'; const plugins = [ // ...otherPlugins createSingleLinePlugin(), ];