import { isDescendant as a, getNodeString as i } from "@udecode/slate";
const n = (t) => (Array.isArray(t) ? t : JSON.parse(t)).map((r) => a(r) ? Array.isArray(r.children) ? n(r.children) : i(r) : "").join(`
`);
export {
  n as toPlaintext
};
//# sourceMappingURL=plaintext.es.js.map
