import { Collaboration } from "./../tiptap/extension-collaboration/index.js";
const createRicosExtension = (options) => ({
  type: "extension",
  groups: [],
  name: "collab",
  reconfigure(config) {
    return config;
  },
  createExtensionConfig() {
    const extension = Collaboration.configure(options);
    return {
      ...extension.config,
      priority: Number.POSITIVE_INFINITY
    };
  }
});
const pluginCollab = (options) => ({
  type: "extension",
  name: "collab",
  config: {},
  tiptapExtensions: [createRicosExtension(options)]
});
export {
  pluginCollab
};
//# sourceMappingURL=editor.js.map
