@atlaskit/editor-core
Version:
A package contains Atlassian editor core functionality
55 lines • 1.22 kB
JavaScript
import * as tslib_1 from "tslib";
import { Node, Schema } from '../prosemirror';
import { paragraph, createSchema } from '../schema';
export { Node, Schema };
export default createSchema({
nodes: [
'doc',
'applicationCard',
'paragraph',
'text',
'bulletList',
'orderedList',
'listItem',
'heading',
'blockquote',
'codeBlock',
'panel',
'rule',
'hardBreak',
'mention',
'emoji',
'image',
'media',
'mediaGroup',
'confluenceUnsupportedBlock',
'confluenceUnsupportedInline',
'confluenceJiraIssue',
'singleImage',
'plain',
'table',
'tableCell',
'tableHeader',
'tableRow',
'decisionList',
'decisionItem',
'taskList',
'taskItem',
],
marks: [
'em',
'strong',
'code',
'strike',
'underline',
'link',
'mentionQuery',
'subsup',
'emojiQuery',
'textColor',
],
customNodeSpecs: {
plain: tslib_1.__assign({}, paragraph, { content: 'text*' })
}
});
//# sourceMappingURL=schema.js.map