const NAME = "isEmptyTextBlock";
const isEmptyTextBlockFn = ({ editorQuery }) => () => {
  return !!editorQuery.selection().doc?.children?.[0]?.isTextBlock() && editorQuery.selection().doc?.children?.[0]?.node?.textContent === "";
};
const isEmptyTextblock = { NAME, query: isEmptyTextBlockFn };
export {
  isEmptyTextblock
};
//# sourceMappingURL=is-empty-textblock.js.map
