So aktualisieren Sie Codespiegeldaten in der Modal -Show

$('#exampleModal').on('shown.bs.modal', function() {
    myCodeMirror.setValue('[Your Dynamic Value]');
    // Refresh Code mirror Here 
    myCodeMirror.refresh();
});
Concerned Cormorant