umd/fieldstack.js
/**
 * Collapse selection at the start of the first selected block. This is used
 * for Firefox versions that attempt to navigate forward/backward instead of
 * moving the cursor. Other browsers are able to move the cursor natively.
 */
Collapse selection at the start of the first selected block. This is used
for Firefox versions that attempt to navigate forward/backward instead of
moving the cursor. Other browsers are able to move the cursor natively.
Collapse selection at the start of the first selected block . This is used for Firefox versions that attempt to navigate forward / backward instead of moving the cursor . Other browsers are able to move the cursor natively .
function keyCommandMoveSelectionToStartOfBlock(editorState) {
  var selection = editorState.getSelection();
  var startKey = selection.getStartKey();
  return EditorState_1.set(editorState, {
    selection: selection.merge({
      anchorKey: startKey,
      anchorOffset: 0,
      focusKey: startKey,
      focusOffset: 0,
      isBackward: false
    }),
    forceSelection: true
  });
}
function keyCommandMoveSelectionToStartOfBlock ( editorState ) { var selection = editorState . getSelection ( ) ; var startKey = selection . getStartKey ( ) ; return EditorState_1 . set ( editorState , { selection : selection . merge ( { anchorKey : startKey , anchorOffset : 0 , focusKey : startKey , focusOffset : 0 , isBackward : false } ) , forceSelection : true } ) ; }
Collapse selection at the start of the first selected block.
Collapse selection at the start of the first selected block .