const isLinkOrAnchorInSelection = (_, __, editor) => {
  const node = editor?.state?.selection?.node;
  if (node) {
    return !!node.attrs?.link;
  }
  return false;
};
export {
  isLinkOrAnchorInSelection
};
//# sourceMappingURL=is-link-or-anchor-in-selection.js.map
