function a(t) {
  const o = (t.state.storedMarks ?? t.state.selection.$from.marks()).find((r) => r.type.name === "bgColor");
  return o ? o.attrs.color : void 0;
}
export {
  a as default
};
//# sourceMappingURL=getActiveBgColor.js.map
