"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, {
  pluginLineSpacing: () => pluginLineSpacing
});
module.exports = __toCommonJS(editor_exports);
var import_defaults = require("./defaults.js");
var import_get_text_buttons = require("./get-text-buttons.js");
var import_tiptap = require("./tiptap.js");
var import_types = require("./types.js");
const pluginLineSpacing = (config) => {
  const resolvedConfig = { type: "lineSpacing", ...import_defaults.DEFAULTS.config, ...config };
  return {
    config: resolvedConfig,
    type: import_types.LINE_SPACING_TYPE,
    textButtons: (0, import_get_text_buttons.getTextButtons)(resolvedConfig),
    tiptapExtensions: [import_tiptap.lineSpacing]
  };
};
//# sourceMappingURL=editor.js.map
