diff --git a/packages/ketcher-core/src/application/editor/modes/SequenceMode.ts b/packages/ketcher-core/src/application/editor/modes/SequenceMode.ts index 659bf53bb0..e31f90643d 100644 --- a/packages/ketcher-core/src/application/editor/modes/SequenceMode.ts +++ b/packages/ketcher-core/src/application/editor/modes/SequenceMode.ts @@ -514,6 +514,13 @@ export class SequenceMode extends BaseMode { previousCaretPosition, nodesToDelete[0][0].nodeIndexOverall, ); + + if ( + SequenceRenderer.caretPosition === 0 && + SequenceRenderer.chainsCollection.chains.length === 0 + ) { + this.startNewSequence(); + } }, }, 'turn-off-edit-mode': {