@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
27 lines (25 loc) • 488 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.underline = void 0;
var _groups = require("../groups");
/**
* @name underline_mark
*/
var underline = {
inclusive: true,
group: _groups.FONT_STYLE,
parseDOM: [{
tag: 'u'
}, {
style: 'text-decoration',
getAttrs: function getAttrs(value) {
return value === 'underline' && null;
}
}],
toDOM: function toDOM() {
return ['u'];
}
};
exports.underline = underline;
;