UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

40 lines (38 loc) 693 B
import { createSchema } from './create-schema'; import { Schema } from '../prosemirror'; export const confluenceSchema: Schema<any, any> = createSchema({ nodes: [ 'doc', 'paragraph', 'blockquote', 'codeBlock', 'panel', 'hardBreak', 'orderedList', 'bulletList', 'heading', 'mediaGroup', 'confluenceUnsupportedBlock', 'confluenceJiraIssue', 'listItem', 'mention', 'text', 'confluenceUnsupportedInline', 'media', 'rule', 'table', 'tableCell', 'tableHeader', 'tableRow' ], marks: [ 'link', 'em', 'strong', 'strike', 'subsup', 'underline', 'mentionQuery', 'code' ] });