Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix line break behavior in rich-text example
Related to ianstormtaylor#5671 Update `insertSoftBreak` to insert a line-break instead of splitting nodes * Modify `packages/slate/src/editor/insert-soft-break.ts` to use `Transforms.insertText` to insert a line-break character instead of splitting nodes --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ianstormtaylor/slate/issues/5671?shareId=fcda97f9-03f1-49f6-8cbc-4fc9f4c95470).
- Loading branch information