"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const Slate = require("slate");
const topLevelNodes = (editor) => {
  return Slate.Editor.nodes(editor, {
    match: (node) => Slate.Element.isElement(node) && !editor.isVoid(node),
    mode: "highest",
    voids: false
  });
};
exports.topLevelNodes = topLevelNodes;
//# sourceMappingURL=topLevelNodes.cjs.map
