docs: accuracy

This commit is contained in:
James
2021-10-18 13:48:02 -04:00
parent eb05b47c54
commit b22c8963cb

View File

@@ -301,7 +301,7 @@ export default {
const editor = incomingEditor;
const { shouldBreakOutOnEnter } = editor;
editor.shouldBreakOutOnEnter = (element) => (element.type === 'large-break' ? true : shouldBreakOutOnEnter(element));
editor.shouldBreakOutOnEnter = (element) => (element.type === 'large-body' ? true : shouldBreakOutOnEnter(element));
return editor;
}