// TODO(danilatos): This is still a slight anomaly, to call a
// node.handleXYZ method here.
if (event.isOnly(KeyCodes.KEY_ENTER)) {
refreshEditorWithCaret(event);
caret = event.getCaret().asPoint();
editorInteractor.checkpoint(new FocusedContentRange(caret));
router.handleEnter(caret.getContainer(), event);
editorInteractor.rebiasSelection(CursorDirection.FROM_LEFT);
return true;
} else if (event.isCombo(KeyCodes.KEY_ENTER, KeyModifier.SHIFT)) {
// shift+enter inserts a "newline" (such as a <br/>) by default