UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

18 lines 596 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.heading = { attrs: { level: { default: 1 } }, content: 'inline<_>*', group: 'block', defining: true, parseDOM: [ { tag: 'h1', attrs: { level: 1 } }, { tag: 'h2', attrs: { level: 2 } }, { tag: 'h3', attrs: { level: 3 } }, { tag: 'h4', attrs: { level: 4 } }, { tag: 'h5', attrs: { level: 5 } }, { tag: 'h6', attrs: { level: 6 } } ], toDOM: function (node) { return ['h' + node.attrs['level'], 0]; } }; //# sourceMappingURL=heading.js.map