"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var basicSchema = {
  nodes: {
    doc: {
      content: "block+"
    },
    text: {
      group: "inline"
    },
    hard_break: {
      inline: true,
      group: "inline",
      selectable: false,
      parseDOM: [{
        tag: "br"
      }],
      toDOM: function toDOM() {
        return ["br"];
      }
    },
    paragraph: {
      content: "inline*",
      attrs: {
        textAlign: {
          "default": 'left'
        }
      },
      group: "block",
      parseDOM: [{
        tag: "p"
      }],
      toDOM: function toDOM(node) {
        return ["p", {
          style: "text-align:".concat(node.attrs["textAlign"])
        }, 0];
      }
    }
  },
  marks: {}
};
var _default = basicSchema;
exports["default"] = _default;