import { Extension as t, callOrReturn as e, getExtensionField as l } from "../../../../../@tiptap_core@2.14.0_@tiptap_pm@2.14.0/node_modules/@tiptap/core/dist/index.js";
import { gapCursor as n } from "../../../../../prosemirror-gapcursor@1.3.2/node_modules/prosemirror-gapcursor/dist/index.js";
const p = t.create({
  name: "gapCursor",
  addProseMirrorPlugins() {
    return [
      n()
    ];
  },
  extendNodeSchema(r) {
    var o;
    const a = {
      name: r.name,
      options: r.options,
      storage: r.storage
    };
    return {
      allowGapCursor: (o = e(l(r, "allowGapCursor", a))) !== null && o !== void 0 ? o : null
    };
  }
});
export {
  p as Gapcursor,
  p as default
};
//# sourceMappingURL=index.js.map
