"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _slate = require("slate");
function isCursorAfterSoftBreak(editor) {
  const {
    selection
  } = editor;
  if (!selection) return false;
  const [previous] = _slate.Editor.previous(editor);
  return previous && previous.type == 'break';
}
var _default = exports.default = isCursorAfterSoftBreak;