var EMMarkSpec = {
  attrs: {
    overridden: {
      "default": false
    }
  },
  parseDOM: [{
    tag: 'i',
    getAttrs: function getAttrs(dom) {
      var _overridden = dom.getAttribute('overridden');
      return {
        overridden: _overridden === 'true'
      };
    }
  }, {
    tag: 'em',
    getAttrs: function getAttrs(dom) {
      var _overridden = dom.getAttribute('overridden');
      return {
        overridden: _overridden === 'true'
      };
    }
  }, {
    tag: 'span[style*=font-style]',
    getAttrs: function getAttrs(value, dom) {
      var _overridden = dom.getAttribute('overridden');
      return {
        overridden: _overridden === 'true'
      };
    }
  }],
  toDOM: function toDOM(mark) {
    return ['em', {
      overridden: mark.attrs.overridden
    }, 0];
  }
};
export default EMMarkSpec;
import { bpfrpt_proptype_MarkSpec } from "./Types.js";