diff --git a/core/connection.js b/core/connection.js index 6e978dedc..76ccb40b9 100644 --- a/core/connection.js +++ b/core/connection.js @@ -392,7 +392,9 @@ Blockly.Connection.prototype.isConnectionAllowed = function(candidate) { case Blockly.OUTPUT_VALUE: { // Don't offer to connect an already connected left (male) value plug to // an available right (female) value plug. - if (candidate.isConnected() || this.isConnected()) { + if ((candidate.isConnected() && + !candidate.targetBlock().isInsertionMarker()) || + this.isConnected()) { return false; } break;