function getSelectionInterface() {
    var a = ReactInputSelection.getSelectionInformation();
    if (a.focusedElem && a.selectionRange) {
        priorSelectionInformation = a;
    } else {