@atlaskit/adf-schema 26.4.0 → 27.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/schema/create-schema.js +2 -2
- package/dist/cjs/schema/nodes/code-block.js +2 -2
- package/dist/cjs/schema/nodes/tableNodes.js +3 -3
- package/dist/cjs/steps/analytics.js +8 -8
- package/dist/cjs/steps/link-meta-step.js +7 -7
- package/dist/cjs/steps/override-document-step.js +6 -6
- package/dist/cjs/steps/set-attrs.js +9 -9
- package/dist/cjs/steps/table/add-column.js +10 -10
- package/dist/cjs/steps/table/sort-column.js +7 -7
- package/dist/cjs/steps/table/utils/side-effects/table.js +3 -3
- package/dist/cjs/steps/type-ahead.js +7 -7
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/schema/create-schema.js +1 -1
- package/dist/es2019/schema/nodes/code-block.js +1 -1
- package/dist/es2019/schema/nodes/tableNodes.js +3 -3
- package/dist/es2019/steps/analytics.js +2 -2
- package/dist/es2019/steps/link-meta-step.js +2 -2
- package/dist/es2019/steps/override-document-step.js +1 -1
- package/dist/es2019/steps/set-attrs.js +2 -2
- package/dist/es2019/steps/table/add-column.js +1 -1
- package/dist/es2019/steps/table/sort-column.js +2 -2
- package/dist/es2019/steps/table/utils/side-effects/table.js +1 -1
- package/dist/es2019/steps/type-ahead.js +2 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/schema/create-schema.js +1 -1
- package/dist/esm/schema/nodes/code-block.js +1 -1
- package/dist/esm/schema/nodes/tableNodes.js +3 -3
- package/dist/esm/steps/analytics.js +2 -2
- package/dist/esm/steps/link-meta-step.js +2 -2
- package/dist/esm/steps/override-document-step.js +1 -1
- package/dist/esm/steps/set-attrs.js +2 -2
- package/dist/esm/steps/table/add-column.js +1 -1
- package/dist/esm/steps/table/sort-column.js +2 -2
- package/dist/esm/steps/table/utils/side-effects/table.js +1 -1
- package/dist/esm/steps/type-ahead.js +2 -2
- package/dist/esm/version.json +1 -1
- package/dist/types/schema/bitbucket-schema.d.ts +1 -1
- package/dist/types/schema/confluence-schema.d.ts +1 -1
- package/dist/types/schema/create-schema.d.ts +1 -1
- package/dist/types/schema/jira-schema.d.ts +1 -1
- package/dist/types/schema/marks/alignment.d.ts +1 -1
- package/dist/types/schema/marks/annotation.d.ts +1 -1
- package/dist/types/schema/marks/border.d.ts +1 -1
- package/dist/types/schema/marks/breakout.d.ts +1 -1
- package/dist/types/schema/marks/code.d.ts +1 -1
- package/dist/types/schema/marks/confluence-inline-comment.d.ts +1 -1
- package/dist/types/schema/marks/data-consumer.d.ts +1 -1
- package/dist/types/schema/marks/em.d.ts +1 -1
- package/dist/types/schema/marks/fragment.d.ts +1 -1
- package/dist/types/schema/marks/indentation.d.ts +1 -1
- package/dist/types/schema/marks/link.d.ts +1 -1
- package/dist/types/schema/marks/strike.d.ts +1 -1
- package/dist/types/schema/marks/strong.d.ts +1 -1
- package/dist/types/schema/marks/subsup.d.ts +1 -1
- package/dist/types/schema/marks/text-color.d.ts +1 -1
- package/dist/types/schema/marks/type-ahead-query.d.ts +1 -1
- package/dist/types/schema/marks/underline.d.ts +1 -1
- package/dist/types/schema/marks/unsupported-mark.d.ts +1 -1
- package/dist/types/schema/marks/unsupported-node-attributes.d.ts +1 -1
- package/dist/types/schema/nodes/block-card.d.ts +1 -1
- package/dist/types/schema/nodes/blockquote.d.ts +1 -1
- package/dist/types/schema/nodes/bodied-extension.d.ts +1 -1
- package/dist/types/schema/nodes/bullet-list.d.ts +1 -1
- package/dist/types/schema/nodes/caption.d.ts +1 -1
- package/dist/types/schema/nodes/code-block.d.ts +1 -1
- package/dist/types/schema/nodes/confluence-jira-issue.d.ts +1 -1
- package/dist/types/schema/nodes/confluence-unsupported-block.d.ts +1 -1
- package/dist/types/schema/nodes/confluence-unsupported-inline.d.ts +1 -1
- package/dist/types/schema/nodes/date.d.ts +1 -1
- package/dist/types/schema/nodes/decision-item.d.ts +1 -1
- package/dist/types/schema/nodes/decision-list.d.ts +1 -1
- package/dist/types/schema/nodes/doc.d.ts +1 -1
- package/dist/types/schema/nodes/embed-card.d.ts +1 -1
- package/dist/types/schema/nodes/emoji.d.ts +1 -1
- package/dist/types/schema/nodes/expand.d.ts +1 -1
- package/dist/types/schema/nodes/extension.d.ts +1 -1
- package/dist/types/schema/nodes/hard-break.d.ts +1 -1
- package/dist/types/schema/nodes/heading.d.ts +1 -1
- package/dist/types/schema/nodes/image.d.ts +1 -1
- package/dist/types/schema/nodes/inline-card.d.ts +1 -1
- package/dist/types/schema/nodes/inline-extension.d.ts +1 -1
- package/dist/types/schema/nodes/layout-column.d.ts +1 -1
- package/dist/types/schema/nodes/layout-section.d.ts +1 -1
- package/dist/types/schema/nodes/list-item.d.ts +1 -1
- package/dist/types/schema/nodes/media-group.d.ts +1 -1
- package/dist/types/schema/nodes/media-inline.d.ts +1 -1
- package/dist/types/schema/nodes/media-single.d.ts +1 -1
- package/dist/types/schema/nodes/media.d.ts +1 -1
- package/dist/types/schema/nodes/mention.d.ts +1 -1
- package/dist/types/schema/nodes/nested-expand.d.ts +1 -1
- package/dist/types/schema/nodes/ordered-list.d.ts +1 -1
- package/dist/types/schema/nodes/panel.d.ts +1 -1
- package/dist/types/schema/nodes/paragraph.d.ts +1 -1
- package/dist/types/schema/nodes/placeholder.d.ts +1 -1
- package/dist/types/schema/nodes/rule.d.ts +1 -1
- package/dist/types/schema/nodes/status.d.ts +1 -1
- package/dist/types/schema/nodes/tableNodes.d.ts +11 -1
- package/dist/types/schema/nodes/task-item.d.ts +1 -1
- package/dist/types/schema/nodes/task-list.d.ts +1 -1
- package/dist/types/schema/nodes/text.d.ts +1 -1
- package/dist/types/schema/nodes/unknown-block.d.ts +1 -1
- package/dist/types/schema/nodes/unsupported-block.d.ts +1 -1
- package/dist/types/schema/nodes/unsupported-inline.d.ts +1 -1
- package/dist/types/steps/analytics.d.ts +2 -2
- package/dist/types/steps/link-meta-step.d.ts +2 -2
- package/dist/types/steps/override-document-step.d.ts +2 -2
- package/dist/types/steps/set-attrs.d.ts +2 -2
- package/dist/types/steps/table/add-column.d.ts +2 -2
- package/dist/types/steps/table/sort-column.d.ts +2 -2
- package/dist/types/steps/table/types.d.ts +1 -1
- package/dist/types/steps/table/utils/cell-step.d.ts +2 -2
- package/dist/types/steps/table/utils/cells-at-column.d.ts +1 -1
- package/dist/types/steps/table/utils/get-table-rect-from-doc.d.ts +1 -1
- package/dist/types/steps/table/utils/side-effects/rows.d.ts +2 -2
- package/dist/types/steps/table/utils/side-effects/side-effects.d.ts +2 -2
- package/dist/types/steps/table/utils/side-effects/table.d.ts +2 -2
- package/dist/types/steps/table/utils/side-effects/types.d.ts +1 -1
- package/dist/types/steps/type-ahead.d.ts +2 -2
- package/dist/types-ts4.5/schema/bitbucket-schema.d.ts +1 -1
- package/dist/types-ts4.5/schema/confluence-schema.d.ts +1 -1
- package/dist/types-ts4.5/schema/create-schema.d.ts +1 -1
- package/dist/types-ts4.5/schema/jira-schema.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/alignment.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/annotation.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/border.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/breakout.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/code.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/confluence-inline-comment.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/data-consumer.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/em.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/fragment.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/indentation.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/link.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/strike.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/strong.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/subsup.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/text-color.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/type-ahead-query.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/underline.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/unsupported-mark.d.ts +1 -1
- package/dist/types-ts4.5/schema/marks/unsupported-node-attributes.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/block-card.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/blockquote.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/bodied-extension.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/bullet-list.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/caption.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/code-block.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/confluence-jira-issue.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/confluence-unsupported-block.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/confluence-unsupported-inline.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/date.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/decision-item.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/decision-list.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/doc.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/embed-card.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/emoji.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/expand.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/extension.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/hard-break.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/heading.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/image.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/inline-card.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/inline-extension.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/layout-column.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/layout-section.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/list-item.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/media-group.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/media-inline.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/media-single.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/media.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/mention.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/nested-expand.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/ordered-list.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/panel.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/paragraph.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/placeholder.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/rule.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/status.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/tableNodes.d.ts +11 -1
- package/dist/types-ts4.5/schema/nodes/task-item.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/task-list.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/text.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/unknown-block.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/unsupported-block.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/unsupported-inline.d.ts +1 -1
- package/dist/types-ts4.5/steps/analytics.d.ts +2 -2
- package/dist/types-ts4.5/steps/link-meta-step.d.ts +2 -2
- package/dist/types-ts4.5/steps/override-document-step.d.ts +2 -2
- package/dist/types-ts4.5/steps/set-attrs.d.ts +2 -2
- package/dist/types-ts4.5/steps/table/add-column.d.ts +2 -2
- package/dist/types-ts4.5/steps/table/sort-column.d.ts +2 -2
- package/dist/types-ts4.5/steps/table/types.d.ts +1 -1
- package/dist/types-ts4.5/steps/table/utils/cell-step.d.ts +2 -2
- package/dist/types-ts4.5/steps/table/utils/cells-at-column.d.ts +1 -1
- package/dist/types-ts4.5/steps/table/utils/get-table-rect-from-doc.d.ts +1 -1
- package/dist/types-ts4.5/steps/table/utils/side-effects/rows.d.ts +2 -2
- package/dist/types-ts4.5/steps/table/utils/side-effects/side-effects.d.ts +2 -2
- package/dist/types-ts4.5/steps/table/utils/side-effects/table.d.ts +2 -2
- package/dist/types-ts4.5/steps/table/utils/side-effects/types.d.ts +1 -1
- package/dist/types-ts4.5/steps/type-ahead.d.ts +2 -2
- package/package.json +3 -6
- package/report.api.md +5 -9
- package/tmp/api-report-tmp.d.ts +5 -9
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Node as PMNode } from 'prosemirror
|
2
|
-
import { Step, StepResult, StepMap, ReplaceStep, Mappable } from 'prosemirror
|
1
|
+
import { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
2
|
+
import { Step, StepResult, StepMap, ReplaceStep, Mappable } from '@atlaskit/editor-prosemirror/transform';
|
3
3
|
export declare const analyticsStepType = "atlaskit-analytics";
|
4
4
|
export declare const analyticsInvertStepType = "atlaskit-analytics-invert";
|
5
5
|
export interface AnalyticsPayload {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Node as PMNode, Schema } from 'prosemirror
|
2
|
-
import { ReplaceStep, Step, StepMap, StepResult, Mappable } from 'prosemirror
|
1
|
+
import { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
2
|
+
import { ReplaceStep, Step, StepMap, StepResult, Mappable } from '@atlaskit/editor-prosemirror/transform';
|
3
3
|
export declare const stepType = "editor-linking-meta";
|
4
4
|
export declare const invertStepType = "editor-linking-meta-invert";
|
5
5
|
export type LinkStepMetadata = {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Step, StepResult, StepMap } from 'prosemirror
|
2
|
-
import { Node as PMNode, Schema } from 'prosemirror
|
1
|
+
import { Step, StepResult, StepMap } from '@atlaskit/editor-prosemirror/transform';
|
2
|
+
import { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
3
3
|
type Options = {
|
4
4
|
nextDocument: PMNode;
|
5
5
|
inverted?: boolean;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Mappable, Step, StepResult } from 'prosemirror
|
2
|
-
import { Node as ProseMirrorNode, Schema } from 'prosemirror
|
1
|
+
import { Mappable, Step, StepResult } from '@atlaskit/editor-prosemirror/transform';
|
2
|
+
import { Node as ProseMirrorNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
3
3
|
/**
|
4
4
|
* For more context on what this is about:
|
5
5
|
* @see https://discuss.prosemirror.net/t/preventing-image-placeholder-replacement-from-being-undone/1394
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Node as ProseMirrorNode, Schema } from 'prosemirror
|
2
|
-
import { Mappable, Step, StepMap, StepResult } from 'prosemirror
|
1
|
+
import { Node as ProseMirrorNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
2
|
+
import { Mappable, Step, StepMap, StepResult } from '@atlaskit/editor-prosemirror/transform';
|
3
3
|
import { AddColumnStepInfo, AddColumnStepJson } from './types';
|
4
4
|
/**
|
5
5
|
* Index and positions looks like
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Node as PMNode } from 'prosemirror
|
2
|
-
import { ReplaceStep, Step, StepMap, StepResult } from 'prosemirror
|
1
|
+
import { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
2
|
+
import { ReplaceStep, Step, StepMap, StepResult } from '@atlaskit/editor-prosemirror/transform';
|
3
3
|
import { TableColumnOrdering } from './types';
|
4
4
|
export declare const tableSortingStepType = "atlaskit-table-sorting-ordering";
|
5
5
|
export declare class TableSortStep extends Step {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Node as ProseMirrorNode } from 'prosemirror
|
1
|
+
import { Node as ProseMirrorNode } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { SideEffects, SideEffectsJSON } from './utils/side-effects/types';
|
3
3
|
import { SortOrder } from './constants';
|
4
4
|
export type ColumnInfo = Map<number, CellStep>;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { Node as ProseMirrorNode } from 'prosemirror
|
1
|
+
import { Node as ProseMirrorNode } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { Cell } from './cells-at-column';
|
3
3
|
import { CellStep } from '../types';
|
4
|
-
import { Transform, StepMap } from 'prosemirror
|
4
|
+
import { Transform, StepMap } from '@atlaskit/editor-prosemirror/transform';
|
5
5
|
import { TableRect } from '@atlaskit/editor-tables/table-map';
|
6
6
|
/**
|
7
7
|
* Given a cell step, this function has to do the specific transformation to executed that step.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TableRect } from '@atlaskit/editor-tables/table-map';
|
2
|
-
import { NodeType } from 'prosemirror
|
2
|
+
import { NodeType } from '@atlaskit/editor-prosemirror/model';
|
3
3
|
import { CellAttributes } from '../../../schema/nodes/tableNodes';
|
4
4
|
export interface Cell {
|
5
5
|
from: number;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Node as ProseMirrorNode, Schema } from 'prosemirror
|
2
|
-
import { Mappable, StepMap, Transform } from 'prosemirror
|
1
|
+
import { Node as ProseMirrorNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
2
|
+
import { Mappable, StepMap, Transform } from '@atlaskit/editor-prosemirror/transform';
|
3
3
|
import { TableRect } from '@atlaskit/editor-tables/table-map';
|
4
4
|
import { RowSideEffect, RowSideEffectJSON } from './types';
|
5
5
|
import { Cell } from '../cells-at-column';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Node as ProseMirrorNode, Schema } from 'prosemirror
|
2
|
-
import { Mappable, StepMap } from 'prosemirror
|
1
|
+
import { Node as ProseMirrorNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
2
|
+
import { Mappable, StepMap } from '@atlaskit/editor-prosemirror/transform';
|
3
3
|
import { SideEffects, SideEffectsJSON } from './types';
|
4
4
|
import { TableSideEffectHandler } from './table';
|
5
5
|
import { RowsSideEffectHandler } from './rows';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Node as ProseMirrorNode, Schema } from 'prosemirror
|
2
|
-
import { Mappable, StepMap, Transform } from 'prosemirror
|
1
|
+
import { Node as ProseMirrorNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
2
|
+
import { Mappable, StepMap, Transform } from '@atlaskit/editor-prosemirror/transform';
|
3
3
|
import { TableRect } from '@atlaskit/editor-tables/table-map';
|
4
4
|
import { TableSideEffect, TableSideEffectJSON } from './types';
|
5
5
|
export declare class TableSideEffectHandler {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Node as PMNode } from 'prosemirror
|
2
|
-
import { Mappable, ReplaceStep, Step, StepMap, StepResult } from 'prosemirror
|
1
|
+
import { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
2
|
+
import { Mappable, ReplaceStep, Step, StepMap, StepResult } from '@atlaskit/editor-prosemirror/transform';
|
3
3
|
export declare const insertTypeAheadStepType = "atlaskit-insert-type-ahead";
|
4
4
|
export declare enum InsertTypeAheadStages {
|
5
5
|
DELETING_RAW_QUERY = "DELETING_RAW_QUERY",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { MarkSpec } from 'prosemirror
|
1
|
+
import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
/**
|
3
3
|
* @name inline_comment_marker
|
4
4
|
* @description This temporary mark represents a Confluence-backed inline comment that wraps a piece of text. It will be replaced with a cross-product inline comment solution at later date.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Mark, MarkSpec } from 'prosemirror
|
1
|
+
import { Mark, MarkSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
/**
|
3
3
|
* This annotation is purely for reference, & does _nothing_ given annotating
|
4
4
|
* `minLength` on an array of strings is not supported with our schema+spec
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { MarkSpec } from 'prosemirror
|
1
|
+
import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
export declare const typeAheadQuery: MarkSpec;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { MarkSpec } from 'prosemirror
|
1
|
+
import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
export declare const unsupportedMark: MarkSpec;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { MarkSpec } from 'prosemirror
|
1
|
+
import { MarkSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
export declare const unsupportedNodeAttribute: MarkSpec;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { ExtensionAttributes } from './types/extensions';
|
3
3
|
import { MarksObject } from './types/mark';
|
4
4
|
import { NonNestableBlockContent } from './types/non-nestable-block-content';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { InlineFormattedText, InlineCode } from './types/inline-content';
|
3
3
|
import { HardBreakDefinition as HardBreak } from './hard-break';
|
4
4
|
import { MentionDefinition as Mention } from './mention';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec, Node as PMNode } from 'prosemirror
|
1
|
+
import { NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { TextDefinition as Text } from './text';
|
3
3
|
import { BreakoutMarkDefinition } from '../marks/breakout';
|
4
4
|
import { MarksObject, NoMark } from './types/mark';
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
export declare const confluenceJiraIssue: NodeSpec;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
export declare const confluenceUnsupportedBlock: NodeSpec;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
export declare const confluenceUnsupportedInline: NodeSpec;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { CodeBlockWithMarksDefinition as CodeBlockWithMarks } from './code-block';
|
3
3
|
import { ExpandWithBreakoutDefinition as ExpandWithBreakout } from './expand';
|
4
4
|
import { LayoutSectionDefinition as LayoutSection } from './layout-section';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { RichMediaAttributes } from './types/rich-media-common';
|
3
3
|
export interface EmbedCardAttributes extends RichMediaAttributes {
|
4
4
|
originalWidth?: number;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec, Node as PMNode } from 'prosemirror
|
1
|
+
import { NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { BreakoutMarkDefinition } from '../marks';
|
3
3
|
import { MarksObject, NoMark } from './types/mark';
|
4
4
|
import { NonNestableBlockContent } from './types/non-nestable-block-content';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { ExtensionAttributes } from './types/extensions';
|
3
3
|
import { MarksObject } from './types/mark';
|
4
4
|
import { DataConsumerDefinition } from '../marks/data-consumer';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { AlignmentMarkDefinition, IndentationMarkDefinition } from '../marks';
|
3
3
|
import { MarksObject, NoMark } from './types/mark';
|
4
4
|
import { Inline } from './types/inline-content';
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
export declare const image: NodeSpec;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { InlineExtensionAttributes } from './types/extensions';
|
3
3
|
import { MarksObject } from './types/mark';
|
4
4
|
import { DataConsumerDefinition } from '../marks/data-consumer';
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
export declare const listItem: NodeSpec;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { LinkDefinition } from '../marks/link';
|
3
3
|
import { MediaBaseAttributes } from './media';
|
4
4
|
export interface MediaInlineAttributes extends MediaBaseAttributes {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec, Node as PMNode } from 'prosemirror
|
1
|
+
import { NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { MediaDefinition as Media } from './media';
|
3
3
|
import { LinkDefinition } from '../marks/link';
|
4
4
|
import { ExtendedMediaAttributes } from './types/rich-media-common';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec, Node as PMNode } from 'prosemirror
|
1
|
+
import { NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { BorderMarkDefinition } from '../marks/border';
|
3
3
|
import { LinkDefinition } from '../marks/link';
|
4
4
|
export type MediaType = 'file' | 'link' | 'external';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { NoMark } from './types/mark';
|
3
3
|
import { ParagraphDefinition as Paragraph } from './paragraph';
|
4
4
|
import { HeadingDefinition as Heading } from './heading';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { ParagraphDefinition as Paragraph } from './paragraph';
|
3
3
|
import { OrderedListDefinition as OrderedList } from './types/list';
|
4
4
|
import { BulletListDefinition as BulletList } from './types/list';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { NodeSpec } from 'prosemirror
|
1
|
+
import { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { AlignmentMarkDefinition, IndentationMarkDefinition } from '../marks';
|
3
3
|
import { MarksObject, NoMark } from './types/mark';
|
4
4
|
import { Inline } from './types/inline-content';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Node as PmNode, NodeSpec } from 'prosemirror
|
1
|
+
import { Node as PmNode, NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
2
2
|
import { CellAttributes } from '@atlaskit/editor-tables/types';
|
3
3
|
import { PanelDefinition as Panel } from './panel';
|
4
4
|
import { ParagraphDefinition as Paragraph, ParagraphWithAlignmentDefinition as ParagraphWithMarks } from './paragraph';
|
@@ -68,6 +68,7 @@ export interface TableDefinition {
|
|
68
68
|
attrs?: TableAttributes;
|
69
69
|
/**
|
70
70
|
* @minItems 1
|
71
|
+
* @allowUnsupportedBlock true
|
71
72
|
*/
|
72
73
|
content: Array<TableRow>;
|
73
74
|
marks?: Array<FragmentDefinition>;
|
@@ -77,6 +78,9 @@ export interface TableDefinition {
|
|
77
78
|
*/
|
78
79
|
export interface TableRow {
|
79
80
|
type: 'tableRow';
|
81
|
+
/**
|
82
|
+
* @allowUnsupportedBlock true
|
83
|
+
*/
|
80
84
|
content: Array<TableHeader | TableCell>;
|
81
85
|
}
|
82
86
|
/**
|
@@ -90,6 +94,9 @@ export type TableCellContent = Array<Panel | Paragraph | ParagraphWithMarks | Bl
|
|
90
94
|
*/
|
91
95
|
export interface TableCell {
|
92
96
|
type: 'tableCell';
|
97
|
+
/**
|
98
|
+
* @allowUnsupportedBlock true
|
99
|
+
*/
|
93
100
|
attrs?: CellAttributes;
|
94
101
|
content: TableCellContent;
|
95
102
|
}
|
@@ -98,6 +105,9 @@ export interface TableCell {
|
|
98
105
|
*/
|
99
106
|
export interface TableHeader {
|
100
107
|
type: 'tableHeader';
|
108
|
+
/**
|
109
|
+
* @allowUnsupportedBlock true
|
110
|
+
*/
|
101
111
|
attrs?: CellAttributes;
|
102
112
|
content: TableCellContent;
|
103
113
|
}
|