function a(t) {
  const e = (t.state.storedMarks ?? t.state.selection.$from.marks()).find((n) => n.type.name === "fontSize");
  if (!e) return;
  const s = parseInt(String(e.attrs.size), 10);
  return isNaN(s) ? void 0 : s;
}
export {
  a as default
};
//# sourceMappingURL=getActiveFontSize.js.map
