"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var editor_exports = {};
__export(editor_exports, {
  pluginFigure: () => pluginFigure
});
module.exports = __toCommonJS(editor_exports);
var import_consts = require("./../ricos-content/consts.js");
var import_caption_converter = require("./converter/caption-converter.js");
var import_caption_tiptap_extension = require("./tiptap/caption-tiptap-extension.js");
var import_figure_tiptap_extension = require("./tiptap/figure-tiptap-extension.js");
const pluginFigure = {
  type: import_consts.TIPTAP_CAPTION_TYPE,
  config: {},
  pmMarkConverters: [],
  pmNodeConverters: [import_caption_converter.captionConverter],
  tiptapExtensions: [import_figure_tiptap_extension.figureTiptapExtension, import_caption_tiptap_extension.captionTiptapExtension]
};
//# sourceMappingURL=editor.js.map
