import lodash from "lodash";
import { getTextAlignment } from "../get-text-alignment.js";
const isTextAlignedRight = (_content, { getEditorQuery }, editor) => {
  const editorQuery = getEditorQuery();
  const activeTextStyles = editorQuery.query.activeTextStyles("textAlignment");
  if (editor && activeTextStyles.length > 0 && lodash.uniq(activeTextStyles).length === 1) {
    return getTextAlignment(activeTextStyles[0], editor) === "right";
  }
  return false;
};
export {
  isTextAlignedRight
};
//# sourceMappingURL=is-text-aligned-right.js.map
