import { Decoration_Type } from "./../../ricos-types/index.js";
const isBoldInText = (_content, { getEditorQuery }, _editor) => {
  const editorQuery = getEditorQuery();
  const decorations = editorQuery.query.activeDecorationsByType(Decoration_Type.BOLD);
  return decorations.length > 0 && decorations.every((item) => item?.fontWeightValue === 700);
};
export {
  isBoldInText
};
//# sourceMappingURL=is-bold-in-text.js.map
