"use strict";

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

var _extensionImage = require("@tiptap/extension-image");

var _react = require("@tiptap/react");

const SensenetImage = _extensionImage.Image.extend({
  renderHTML({
    HTMLAttributes
  }) {
    const {
      style
    } = HTMLAttributes;
    return ['figure', {
      style
    }, ['img', (0, _react.mergeAttributes)(this.options.HTMLAttributes, HTMLAttributes)]];
  }

});

exports.SensenetImage = SensenetImage;
//# sourceMappingURL=image.js.map