UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

58 lines 1.35 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var prosemirror_1 = require("../prosemirror"); exports.Node = prosemirror_1.Node; exports.Schema = prosemirror_1.Schema; var schema_1 = require("../schema"); exports.default = schema_1.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({}, schema_1.paragraph, { content: 'text*' }) } }); //# sourceMappingURL=schema.js.map