import { MARK_BOLD as m, MARK_ITALIC as o, MARK_CODE as t, MARK_UNDERLINE as R, MARK_STRIKETHROUGH as e } from "@udecode/plate-basic-marks";
import { unwrapList as A } from "@udecode/plate-list";
import { ELEMENT_PARAGRAPH as p } from "@udecode/plate-paragraph";
import { setElements as E } from "@udecode/slate";
import { removeMark as i } from "@udecode/slate-utils";
const _ = (r) => {
  !r || !r.selection || (i(r, {
    key: [m, o, t, R, e]
  }), A(r, {}), E(r, {
    type: p,
    align: void 0
  }));
};
export {
  _ as resetFormatting
};
//# sourceMappingURL=resetFormatting.es.js.map
