How to change Merge editor value after it's been created with an initial value?

I have created a merge editor with the initial values like below.

const options = {
        value: "Value 1",
        origLeft: null,
        origRight: "Value 2",
        revertButtons: true,
        lineNumbers: true,
        mode: "text/html",
        highlightDifferences: true,
        connect: "align",
        collapseIdentical: false,
        allowEditingOriginals: false,
        autoRefresh: true

     diffEditor = CodeMirror.MergeView(target, options);

Is there a way to modify the editor values afterwards like diffEditor.editor().setValue() / diffEditor.rightOriginal().setValue()?