diff --git a/src/EditorFactory.js b/src/EditorFactory.js index 319e8f1ec65..39cd350dd59 100644 --- a/src/EditorFactory.js +++ b/src/EditorFactory.js @@ -67,7 +67,14 @@ const createEditor = ({ language, onCreate = () => {}, onUpdate = () => {}, exte FocusTrap, ] } else { - defaultExtensions = [PlainText, CodeBlockLowlight.configure({ lowlight, defaultLanguage: language })] + defaultExtensions = [ + PlainText, + CodeBlockLowlight.configure({ + lowlight, + defaultLanguage: language, + exitOnTripleEnter: false, + }), + ] } return new Editor({