import { Node } from 'prosemirror-model';
var HangingIndentMarkSpec = {
  attrs: {
    prefix: {
      "default": null
    },
    overridden: {
      "default": false
    }
  },
  inline: true,
  group: 'inline',
  parseDOM: [{
    tag: 'span[prefix]',
    getAttrs: function getAttrs(domNode) {
      var _prefix = domNode.getAttribute('prefix');
      return {
        prefix: _prefix || null,
        overridden: true
      };
    }
  }],
  toDOM: function toDOM(node) {
    var prefix = node.attrs.prefix;
    var attrs = {
      prefix: prefix,
      overridden: true
    };
    return ['span', attrs, 0];
  },
  rank: 5000
};
export default HangingIndentMarkSpec;
import { bpfrpt_proptype_MarkSpec } from "./Types.js";