"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.createExtensions = void 0;

var _extensionBlockquote = require("@tiptap/extension-blockquote");

var _extensionBold = require("@tiptap/extension-bold");

var _extensionBulletList = require("@tiptap/extension-bullet-list");

var _extensionCode = require("@tiptap/extension-code");

var _extensionCodeBlock = require("@tiptap/extension-code-block");

var _extensionDocument = require("@tiptap/extension-document");

var _extensionDropcursor = require("@tiptap/extension-dropcursor");

var _extensionGapcursor = require("@tiptap/extension-gapcursor");

var _extensionHardBreak = require("@tiptap/extension-hard-break");

var _extensionHeading = require("@tiptap/extension-heading");

var _extensionHistory = require("@tiptap/extension-history");

var _extensionItalic = require("@tiptap/extension-italic");

var _extensionLink = require("@tiptap/extension-link");

var _extensionListItem = require("@tiptap/extension-list-item");

var _extensionOrderedList = require("@tiptap/extension-ordered-list");

var _extensionParagraph = require("@tiptap/extension-paragraph");

var _extensionPlaceholder = require("@tiptap/extension-placeholder");

var _extensionTable = require("@tiptap/extension-table");

var _extensionTableCell = require("@tiptap/extension-table-cell");

var _extensionTableHeader = require("@tiptap/extension-table-header");

var _extensionTableRow = require("@tiptap/extension-table-row");

var _extensionText = require("@tiptap/extension-text");

var _extensionTextAlign = require("@tiptap/extension-text-align");

var _extensionUnderline = require("@tiptap/extension-underline");

var _extensions = require("./extensions");

const createExtensions = options => [_extensionBlockquote.Blockquote.configure(), _extensionBold.Bold.configure(), _extensionBulletList.BulletList.configure(), _extensionCode.Code.configure(), _extensionCodeBlock.CodeBlock.configure(), _extensionDocument.Document.configure(), _extensionDropcursor.Dropcursor.configure(), _extensionGapcursor.Gapcursor.configure(), _extensionHardBreak.HardBreak.configure(), _extensionHeading.Heading.configure(), _extensionHistory.History.configure(), _extensionItalic.Italic.configure(), _extensionLink.Link.configure({
  openOnClick: false
}), _extensionListItem.ListItem.configure(), _extensionOrderedList.OrderedList.configure(), _extensionParagraph.Paragraph.configure(), _extensionPlaceholder.Placeholder.configure(options === null || options === void 0 ? void 0 : options.placeholder), _extensions.SensenetImage.configure(), _extensionTable.Table.configure(), _extensionTableCell.TableCell.configure(), _extensionTableHeader.TableHeader.configure(), _extensionTableRow.TableRow.configure(), _extensionText.Text.configure(), _extensionTextAlign.TextAlign.configure({
  types: ['heading', 'paragraph', 'image']
}), _extensionUnderline.Underline.configure()];

exports.createExtensions = createExtensions;
//# sourceMappingURL=extension-list.js.map