@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
9 lines (8 loc) • 536 B
JavaScript
import { adfNode } from '@atlaskit/adf-schema-generator';
import { tableCellContentPseudoGroup } from '../groups/tableCellContentPseudoGroup';
// @DSLCompatibilityException This is only used by JSON schema to group the table cell content into a definition.
// This node should be deleted and the content should be replicated in the JSON schema for table header and table cell node
export const tableCellContent = adfNode('tableCellContent').define({
ignore: ['pm-spec', 'validator-spec'],
content: [tableCellContentPseudoGroup]
});