@atlaskit/editor-core 187.47.9 → 187.48.2
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 +19 -0
- package/dist/cjs/{editor-next → composable-editor}/editor-internal.js +2 -22
- package/dist/cjs/{editor-next/index.js → composable-editor/editor.js} +16 -10
- package/dist/cjs/composable-editor.js +2 -3
- package/dist/cjs/editor.js +4 -4
- package/dist/cjs/index.js +7 -7
- package/dist/cjs/labs/next/presets/default.js +2 -2
- package/dist/cjs/plugins/floating-toolbar/ui/Toolbar.js +3 -70
- package/dist/cjs/plugins/floating-toolbar/utils.js +0 -41
- package/dist/cjs/plugins/index.js +0 -7
- package/dist/cjs/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.js +28 -11
- package/dist/cjs/test-utils.js +2 -2
- package/dist/cjs/ui/CollapsedEditor/index.js +3 -3
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/{editor-next → composable-editor}/editor-internal.js +1 -23
- package/dist/es2019/{editor-next/index.js → composable-editor/editor.js} +15 -7
- package/dist/es2019/composable-editor.js +1 -1
- package/dist/es2019/editor.js +4 -4
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/labs/next/presets/default.js +1 -1
- package/dist/es2019/plugins/floating-toolbar/ui/Toolbar.js +1 -52
- package/dist/es2019/plugins/floating-toolbar/utils.js +0 -36
- package/dist/es2019/plugins/index.js +0 -1
- package/dist/es2019/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.js +21 -4
- package/dist/es2019/test-utils.js +1 -1
- package/dist/es2019/ui/CollapsedEditor/index.js +3 -3
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/{editor-next → composable-editor}/editor-internal.js +1 -20
- package/dist/esm/{editor-next/index.js → composable-editor/editor.js} +15 -7
- package/dist/esm/composable-editor.js +1 -1
- package/dist/esm/editor.js +4 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/labs/next/presets/default.js +1 -1
- package/dist/esm/plugins/floating-toolbar/ui/Toolbar.js +1 -66
- package/dist/esm/plugins/floating-toolbar/utils.js +0 -37
- package/dist/esm/plugins/index.js +0 -1
- package/dist/esm/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.js +21 -4
- package/dist/esm/test-utils.js +1 -1
- package/dist/esm/ui/CollapsedEditor/index.js +3 -3
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/{types-ts4.5/editor-next → types/composable-editor}/editor-internal.d.ts +4 -13
- package/dist/{types-ts4.5/editor-next/index.d.ts → types/composable-editor/editor.d.ts} +2 -4
- package/dist/types/{editor-next → composable-editor}/hooks/useMeasureEditorMountTime.d.ts +3 -3
- package/dist/types/{editor-next → composable-editor}/utils/getBaseFontSize.d.ts +1 -1
- package/dist/{types-ts4.5/editor-next → types/composable-editor}/utils/getProvidersFromEditorProps.d.ts +2 -2
- package/dist/types/{editor-next → composable-editor}/utils/sendDurationAnalytics.d.ts +4 -4
- package/dist/{types-ts4.5/editor-next → types/composable-editor}/utils/trackEditorActions.d.ts +3 -3
- package/dist/types/composable-editor.d.ts +1 -1
- package/dist/types/create-editor/create-plugins-list.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/labs/next/presets/default.d.ts +1 -1
- package/dist/types/plugins/code-block/ide-ux/quote-handling.d.ts +1 -1
- package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/commands.d.ts +1 -1
- package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.d.ts +1 -1
- package/dist/types/plugins/floating-toolbar/ui/Select.d.ts +1 -1
- package/dist/types/plugins/floating-toolbar/ui/Toolbar.d.ts +3 -4
- package/dist/types/plugins/floating-toolbar/utils.d.ts +0 -2
- package/dist/types/plugins/index.d.ts +0 -1
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/FormErrorBoundary.d.ts +1 -1
- package/dist/types/ui/ContentStyles/index.d.ts +2 -2
- package/dist/{types/editor-next → types-ts4.5/composable-editor}/editor-internal.d.ts +4 -13
- package/dist/{types/editor-next/index.d.ts → types-ts4.5/composable-editor/editor.d.ts} +2 -4
- package/dist/types-ts4.5/{editor-next → composable-editor}/hooks/useMeasureEditorMountTime.d.ts +3 -3
- package/dist/types-ts4.5/{editor-next → composable-editor}/utils/getBaseFontSize.d.ts +1 -1
- package/dist/{types/editor-next → types-ts4.5/composable-editor}/utils/getProvidersFromEditorProps.d.ts +2 -2
- package/dist/types-ts4.5/{editor-next → composable-editor}/utils/sendDurationAnalytics.d.ts +4 -4
- package/dist/{types/editor-next → types-ts4.5/composable-editor}/utils/trackEditorActions.d.ts +3 -3
- package/dist/types-ts4.5/composable-editor.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/labs/next/presets/default.d.ts +1 -1
- package/dist/types-ts4.5/plugins/code-block/ide-ux/quote-handling.d.ts +1 -1
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/commands.d.ts +1 -1
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.d.ts +1 -1
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Select.d.ts +1 -1
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Toolbar.d.ts +3 -4
- package/dist/types-ts4.5/plugins/floating-toolbar/utils.d.ts +0 -2
- package/dist/types-ts4.5/plugins/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types-ts4.5/ui/ConfigPanel/FormErrorBoundary.d.ts +1 -1
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +2 -2
- package/package.json +8 -9
- package/report.api.md +3 -26
- package/tmp/api-report-tmp.d.ts +3 -26
- package/dist/cjs/plugins/base/commands.js +0 -20
- package/dist/cjs/plugins/base/index.js +0 -13
- package/dist/cjs/plugins/base/plugin.js +0 -143
- package/dist/cjs/plugins/base/pm-plugins/context-identifier.js +0 -58
- package/dist/cjs/plugins/base/pm-plugins/disable-spell-checking.js +0 -63
- package/dist/cjs/plugins/base/pm-plugins/filter-steps.js +0 -34
- package/dist/cjs/plugins/base/pm-plugins/fix-chrome-88-selection.js +0 -34
- package/dist/cjs/plugins/base/pm-plugins/frozen-editor.js +0 -265
- package/dist/cjs/plugins/base/pm-plugins/inline-cursor-target.js +0 -183
- package/dist/cjs/plugins/base/pm-plugins/newline-preserve-marks.js +0 -34
- package/dist/cjs/plugins/base/pm-plugins/scroll-gutter/index.js +0 -262
- package/dist/cjs/plugins/base/pm-plugins/scroll-gutter/plugin-key.js +0 -15
- package/dist/cjs/plugins/base/utils/frozen-editor.js +0 -11
- package/dist/cjs/plugins/base/utils/input-latency-tracking.js +0 -134
- package/dist/es2019/plugins/base/commands.js +0 -13
- package/dist/es2019/plugins/base/index.js +0 -2
- package/dist/es2019/plugins/base/plugin.js +0 -113
- package/dist/es2019/plugins/base/pm-plugins/context-identifier.js +0 -43
- package/dist/es2019/plugins/base/pm-plugins/disable-spell-checking.js +0 -54
- package/dist/es2019/plugins/base/pm-plugins/filter-steps.js +0 -23
- package/dist/es2019/plugins/base/pm-plugins/fix-chrome-88-selection.js +0 -24
- package/dist/es2019/plugins/base/pm-plugins/frozen-editor.js +0 -258
- package/dist/es2019/plugins/base/pm-plugins/inline-cursor-target.js +0 -186
- package/dist/es2019/plugins/base/pm-plugins/newline-preserve-marks.js +0 -20
- package/dist/es2019/plugins/base/pm-plugins/scroll-gutter/index.js +0 -242
- package/dist/es2019/plugins/base/pm-plugins/scroll-gutter/plugin-key.js +0 -7
- package/dist/es2019/plugins/base/utils/frozen-editor.js +0 -2
- package/dist/es2019/plugins/base/utils/input-latency-tracking.js +0 -104
- package/dist/esm/plugins/base/commands.js +0 -13
- package/dist/esm/plugins/base/index.js +0 -2
- package/dist/esm/plugins/base/plugin.js +0 -131
- package/dist/esm/plugins/base/pm-plugins/context-identifier.js +0 -48
- package/dist/esm/plugins/base/pm-plugins/disable-spell-checking.js +0 -56
- package/dist/esm/plugins/base/pm-plugins/filter-steps.js +0 -27
- package/dist/esm/plugins/base/pm-plugins/fix-chrome-88-selection.js +0 -26
- package/dist/esm/plugins/base/pm-plugins/frozen-editor.js +0 -251
- package/dist/esm/plugins/base/pm-plugins/inline-cursor-target.js +0 -174
- package/dist/esm/plugins/base/pm-plugins/newline-preserve-marks.js +0 -26
- package/dist/esm/plugins/base/pm-plugins/scroll-gutter/index.js +0 -254
- package/dist/esm/plugins/base/pm-plugins/scroll-gutter/plugin-key.js +0 -7
- package/dist/esm/plugins/base/utils/frozen-editor.js +0 -4
- package/dist/esm/plugins/base/utils/input-latency-tracking.js +0 -128
- package/dist/types/plugins/base/commands.d.ts +0 -2
- package/dist/types/plugins/base/index.d.ts +0 -5
- package/dist/types/plugins/base/plugin.d.ts +0 -25
- package/dist/types/plugins/base/pm-plugins/context-identifier.d.ts +0 -13
- package/dist/types/plugins/base/pm-plugins/disable-spell-checking.d.ts +0 -4
- package/dist/types/plugins/base/pm-plugins/filter-steps.d.ts +0 -4
- package/dist/types/plugins/base/pm-plugins/fix-chrome-88-selection.d.ts +0 -5
- package/dist/types/plugins/base/pm-plugins/frozen-editor.d.ts +0 -12
- package/dist/types/plugins/base/pm-plugins/inline-cursor-target.d.ts +0 -17
- package/dist/types/plugins/base/pm-plugins/newline-preserve-marks.d.ts +0 -5
- package/dist/types/plugins/base/pm-plugins/scroll-gutter/index.d.ts +0 -22
- package/dist/types/plugins/base/pm-plugins/scroll-gutter/plugin-key.d.ts +0 -7
- package/dist/types/plugins/base/utils/frozen-editor.d.ts +0 -2
- package/dist/types/plugins/base/utils/input-latency-tracking.d.ts +0 -42
- package/dist/types-ts4.5/plugins/base/commands.d.ts +0 -2
- package/dist/types-ts4.5/plugins/base/index.d.ts +0 -5
- package/dist/types-ts4.5/plugins/base/plugin.d.ts +0 -27
- package/dist/types-ts4.5/plugins/base/pm-plugins/context-identifier.d.ts +0 -13
- package/dist/types-ts4.5/plugins/base/pm-plugins/disable-spell-checking.d.ts +0 -4
- package/dist/types-ts4.5/plugins/base/pm-plugins/filter-steps.d.ts +0 -4
- package/dist/types-ts4.5/plugins/base/pm-plugins/fix-chrome-88-selection.d.ts +0 -5
- package/dist/types-ts4.5/plugins/base/pm-plugins/frozen-editor.d.ts +0 -12
- package/dist/types-ts4.5/plugins/base/pm-plugins/inline-cursor-target.d.ts +0 -17
- package/dist/types-ts4.5/plugins/base/pm-plugins/newline-preserve-marks.d.ts +0 -5
- package/dist/types-ts4.5/plugins/base/pm-plugins/scroll-gutter/index.d.ts +0 -22
- package/dist/types-ts4.5/plugins/base/pm-plugins/scroll-gutter/plugin-key.d.ts +0 -7
- package/dist/types-ts4.5/plugins/base/utils/frozen-editor.d.ts +0 -2
- package/dist/types-ts4.5/plugins/base/utils/input-latency-tracking.d.ts +0 -42
- /package/dist/cjs/{editor-next → composable-editor}/hooks/useEditorMeasuresConstructor.js +0 -0
- /package/dist/cjs/{editor-next → composable-editor}/hooks/useMeasureEditorMountTime.js +0 -0
- /package/dist/cjs/{editor-next → composable-editor}/hooks/useProviderFactory.js +0 -0
- /package/dist/cjs/{editor-next → composable-editor}/utils/editorMeasureTTICallback.js +0 -0
- /package/dist/cjs/{editor-next → composable-editor}/utils/getBaseFontSize.js +0 -0
- /package/dist/cjs/{editor-next → composable-editor}/utils/getProvidersFromEditorProps.js +0 -0
- /package/dist/cjs/{editor-next → composable-editor}/utils/handleProviders.js +0 -0
- /package/dist/cjs/{editor-next → composable-editor}/utils/sendDurationAnalytics.js +0 -0
- /package/dist/cjs/{editor-next → composable-editor}/utils/trackEditorActions.js +0 -0
- /package/dist/es2019/{editor-next → composable-editor}/hooks/useEditorMeasuresConstructor.js +0 -0
- /package/dist/es2019/{editor-next → composable-editor}/hooks/useMeasureEditorMountTime.js +0 -0
- /package/dist/es2019/{editor-next → composable-editor}/hooks/useProviderFactory.js +0 -0
- /package/dist/es2019/{editor-next → composable-editor}/utils/editorMeasureTTICallback.js +0 -0
- /package/dist/es2019/{editor-next → composable-editor}/utils/getBaseFontSize.js +0 -0
- /package/dist/es2019/{editor-next → composable-editor}/utils/getProvidersFromEditorProps.js +0 -0
- /package/dist/es2019/{editor-next → composable-editor}/utils/handleProviders.js +0 -0
- /package/dist/es2019/{editor-next → composable-editor}/utils/sendDurationAnalytics.js +0 -0
- /package/dist/es2019/{editor-next → composable-editor}/utils/trackEditorActions.js +0 -0
- /package/dist/esm/{editor-next → composable-editor}/hooks/useEditorMeasuresConstructor.js +0 -0
- /package/dist/esm/{editor-next → composable-editor}/hooks/useMeasureEditorMountTime.js +0 -0
- /package/dist/esm/{editor-next → composable-editor}/hooks/useProviderFactory.js +0 -0
- /package/dist/esm/{editor-next → composable-editor}/utils/editorMeasureTTICallback.js +0 -0
- /package/dist/esm/{editor-next → composable-editor}/utils/getBaseFontSize.js +0 -0
- /package/dist/esm/{editor-next → composable-editor}/utils/getProvidersFromEditorProps.js +0 -0
- /package/dist/esm/{editor-next → composable-editor}/utils/handleProviders.js +0 -0
- /package/dist/esm/{editor-next → composable-editor}/utils/sendDurationAnalytics.js +0 -0
- /package/dist/esm/{editor-next → composable-editor}/utils/trackEditorActions.js +0 -0
- /package/dist/types/{editor-next → composable-editor}/hooks/useEditorMeasuresConstructor.d.ts +0 -0
- /package/dist/types/{editor-next → composable-editor}/hooks/useProviderFactory.d.ts +0 -0
- /package/dist/types/{editor-next → composable-editor}/utils/editorMeasureTTICallback.d.ts +0 -0
- /package/dist/types/{editor-next → composable-editor}/utils/handleProviders.d.ts +0 -0
- /package/dist/types-ts4.5/{editor-next → composable-editor}/hooks/useEditorMeasuresConstructor.d.ts +0 -0
- /package/dist/types-ts4.5/{editor-next → composable-editor}/hooks/useProviderFactory.d.ts +0 -0
- /package/dist/types-ts4.5/{editor-next → composable-editor}/utils/editorMeasureTTICallback.d.ts +0 -0
- /package/dist/types-ts4.5/{editor-next → composable-editor}/utils/handleProviders.d.ts +0 -0
|
@@ -6,11 +6,12 @@ import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
|
6
6
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
7
7
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
8
8
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
9
|
-
import type {
|
|
9
|
+
import type { FeatureFlags, PluginInjectionAPIWithDependencies, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
10
10
|
import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
|
|
11
11
|
import type { contextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
|
|
12
12
|
import type { ExtensionPlugin } from '@atlaskit/editor-plugin-extension';
|
|
13
|
-
|
|
13
|
+
import type { Item } from '@atlaskit/editor-common/floating-toolbar';
|
|
14
|
+
export type { Item };
|
|
14
15
|
export interface Props {
|
|
15
16
|
items: Array<Item>;
|
|
16
17
|
dispatchCommand: (command?: Function) => void;
|
|
@@ -33,8 +34,6 @@ export interface Props {
|
|
|
33
34
|
OptionalPlugin<ExtensionPlugin>
|
|
34
35
|
]> | undefined;
|
|
35
36
|
}
|
|
36
|
-
export declare const isSameItem: (leftItem: Item, rightItem: Item) => boolean;
|
|
37
|
-
export declare const areSameItems: (leftArr?: Array<Item>, rightArr?: Array<Item>) => boolean;
|
|
38
37
|
export interface State {
|
|
39
38
|
scrollDisabled: boolean;
|
|
40
39
|
mounted: boolean;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import type { Node } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
export declare const shallowEqual: (objA?: Object, objB?: Object) => boolean;
|
|
3
|
-
export declare const compareArrays: <T extends any[]>(left: T[], right: T[], compareFn?: (left: T, right: T) => boolean) => boolean;
|
|
4
2
|
export declare function findNode(parent: Node, predicate: (node: Node) => boolean): Node | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { basePlugin } from './base';
|
|
2
1
|
export { default as betterTypeHistoryPlugin } from './better-type-history';
|
|
3
2
|
export { default as clearMarksOnChangeToEmptyDocumentPlugin } from './clear-marks-on-change-to-empty-document';
|
|
4
3
|
export { default as codeBlockPlugin } from './code-block';
|
|
@@ -3,7 +3,7 @@ export declare const fullPageEditorWrapper: import("@emotion/react").SerializedS
|
|
|
3
3
|
export declare const ScrollContainer: import("react").ForwardRefExoticComponent<Pick<{
|
|
4
4
|
theme?: any;
|
|
5
5
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
6
|
-
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "
|
|
6
|
+
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "list" | "mediaGroup" | "size" | "id" | "hidden" | "href" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "start" | "wrap" | "multiple" | "target" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src" | "step" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "as" | "async" | "autoPlay" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "frameBorder" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | keyof {
|
|
7
7
|
theme?: any;
|
|
8
8
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
9
9
|
}> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -12,5 +12,5 @@ interface Props {
|
|
|
12
12
|
export declare const FormErrorBoundaryImpl: React.FC<import("react-intl-next").WithIntlProps<Props & WithAnalyticsEventsProps & WrappedComponentProps<"intl">>> & {
|
|
13
13
|
WrappedComponent: React.ComponentType<Props & WithAnalyticsEventsProps & WrappedComponentProps<"intl">>;
|
|
14
14
|
};
|
|
15
|
-
export declare const FormErrorBoundary: React.ForwardRefExoticComponent<Pick<Omit<React.PropsWithChildren<import("react-intl-next").WithIntlProps<Props & WithAnalyticsEventsProps & WrappedComponentProps<"intl">>>, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "key" | "
|
|
15
|
+
export declare const FormErrorBoundary: React.ForwardRefExoticComponent<Pick<Omit<React.PropsWithChildren<import("react-intl-next").WithIntlProps<Props & WithAnalyticsEventsProps & WrappedComponentProps<"intl">>>, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "key" | "forwardedRef" | "analyticsContext" | keyof Props> & React.RefAttributes<any>>;
|
|
16
16
|
export {};
|
|
@@ -9,6 +9,6 @@ type ContentStylesProps = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare const placeholderStyles: SerializedStyles;
|
|
11
11
|
type Props = ContentStylesProps & React.HTMLProps<HTMLDivElement>;
|
|
12
|
-
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "
|
|
13
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "
|
|
12
|
+
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "list" | "mediaGroup" | "size" | "id" | "hidden" | "href" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "start" | "wrap" | "multiple" | "target" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src" | "step" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "as" | "async" | "autoPlay" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "frameBorder" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "list" | "mediaGroup" | "size" | "id" | "hidden" | "href" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "start" | "wrap" | "multiple" | "target" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "max" | "maxLength" | "min" | "minLength" | "readOnly" | "required" | "src" | "step" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "as" | "async" | "autoPlay" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "dateTime" | "defer" | "download" | "encType" | "frameBorder" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "187.
|
|
3
|
+
"version": "187.48.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -55,11 +55,12 @@
|
|
|
55
55
|
"@atlaskit/code": "^14.6.0",
|
|
56
56
|
"@atlaskit/date": "^0.10.0",
|
|
57
57
|
"@atlaskit/datetime-picker": "^12.10.0",
|
|
58
|
-
"@atlaskit/editor-common": "^
|
|
58
|
+
"@atlaskit/editor-common": "^76.1.0",
|
|
59
59
|
"@atlaskit/editor-json-transformer": "^8.10.0",
|
|
60
60
|
"@atlaskit/editor-markdown-transformer": "^5.2.5",
|
|
61
61
|
"@atlaskit/editor-palette": "1.5.1",
|
|
62
62
|
"@atlaskit/editor-plugin-analytics": "^0.2.0",
|
|
63
|
+
"@atlaskit/editor-plugin-base": "^0.1.0",
|
|
63
64
|
"@atlaskit/editor-plugin-block-type": "^1.0.0",
|
|
64
65
|
"@atlaskit/editor-plugin-card": "^0.8.0",
|
|
65
66
|
"@atlaskit/editor-plugin-composition": "^0.1.0",
|
|
@@ -81,7 +82,7 @@
|
|
|
81
82
|
"@atlaskit/editor-plugin-placeholder": "^0.1.0",
|
|
82
83
|
"@atlaskit/editor-plugin-quick-insert": "^0.1.0",
|
|
83
84
|
"@atlaskit/editor-plugin-rule": "^0.1.0",
|
|
84
|
-
"@atlaskit/editor-plugin-table": "^
|
|
85
|
+
"@atlaskit/editor-plugin-table": "^4.0.0",
|
|
85
86
|
"@atlaskit/editor-plugin-text-formatting": "^0.4.0",
|
|
86
87
|
"@atlaskit/editor-plugin-type-ahead": "^0.3.0",
|
|
87
88
|
"@atlaskit/editor-plugin-unsupported-content": "^0.2.0",
|
|
@@ -153,10 +154,10 @@
|
|
|
153
154
|
"@af/integration-testing": "*",
|
|
154
155
|
"@af/visual-regression": "*",
|
|
155
156
|
"@atlaskit/code": "^14.6.0",
|
|
156
|
-
"@atlaskit/collab-provider": "9.12.
|
|
157
|
+
"@atlaskit/collab-provider": "9.12.4",
|
|
157
158
|
"@atlaskit/dropdown-menu": "^11.14.0",
|
|
158
159
|
"@atlaskit/editor-extension-dropbox": "^0.4.0",
|
|
159
|
-
"@atlaskit/editor-plugin-table": "^
|
|
160
|
+
"@atlaskit/editor-plugin-table": "^4.0.0",
|
|
160
161
|
"@atlaskit/flag": "^15.2.0",
|
|
161
162
|
"@atlaskit/icon-object": "^6.3.0",
|
|
162
163
|
"@atlaskit/inline-dialog": "^13.6.0",
|
|
@@ -178,11 +179,12 @@
|
|
|
178
179
|
"@atlaskit/util-data-test": "^17.8.0",
|
|
179
180
|
"@atlaskit/visual-regression": "*",
|
|
180
181
|
"@atlaskit/webdriver-runner": "*",
|
|
182
|
+
"@atlassian/adf-schema-json": "^1.0.7",
|
|
181
183
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
182
184
|
"@atlassian/editor-extension-link-create": "^0.4.0",
|
|
183
185
|
"@atlassian/feature-flags-test-utils": "^0.1.1",
|
|
184
186
|
"@atlassian/link-picker-plugins": "^23.0.0",
|
|
185
|
-
"@atlassian/search-provider": "2.4.
|
|
187
|
+
"@atlassian/search-provider": "2.4.8",
|
|
186
188
|
"@atlassian/ufo": "^0.2.0",
|
|
187
189
|
"@emotion/jest": "^11.8.0",
|
|
188
190
|
"@storybook/addon-knobs": "^5.3.18",
|
|
@@ -270,9 +272,6 @@
|
|
|
270
272
|
"type": "boolean",
|
|
271
273
|
"referenceOnly": "true"
|
|
272
274
|
},
|
|
273
|
-
"platform.editor.disable-chrome-88-selection-fix_uk53m": {
|
|
274
|
-
"type": "boolean"
|
|
275
|
-
},
|
|
276
275
|
"platform.linking-platform.datasource-jira_issues": {
|
|
277
276
|
"type": "boolean"
|
|
278
277
|
},
|
package/report.api.md
CHANGED
|
@@ -29,8 +29,8 @@ import type { AnalyticsEventPayload as AnalyticsEventPayload_2 } from '@atlaskit
|
|
|
29
29
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
30
30
|
import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
31
31
|
import type { AnnotationTypes } from '@atlaskit/adf-schema';
|
|
32
|
+
import type { BasePluginOptions } from '@atlaskit/editor-plugin-base';
|
|
32
33
|
import type { BlockTypePluginOptions } from '@atlaskit/editor-plugin-block-type';
|
|
33
|
-
import { BrowserFreezetracking } from '@atlaskit/editor-common/types';
|
|
34
34
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
35
35
|
import { CardProvider } from '@atlaskit/editor-common/provider-factory';
|
|
36
36
|
import { clearEditorContent } from '@atlaskit/editor-common/commands';
|
|
@@ -90,7 +90,6 @@ import type { GuidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
|
90
90
|
import type { HyperlinkPluginOptions } from '@atlaskit/editor-common/types';
|
|
91
91
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
92
92
|
import type { InputMethodInsertMedia } from '@atlaskit/editor-common/analytics';
|
|
93
|
-
import { InputTracking } from '@atlaskit/editor-common/types';
|
|
94
93
|
import { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
|
|
95
94
|
import { jsx } from '@emotion/react';
|
|
96
95
|
import { lightModeStatusColorPalette } from '@atlaskit/editor-common/ui-color';
|
|
@@ -146,6 +145,7 @@ import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
|
146
145
|
import type { SearchProvider } from '@atlaskit/editor-common/provider-factory';
|
|
147
146
|
import type { SelectionPluginOptions } from '@atlaskit/editor-common/selection';
|
|
148
147
|
import { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
|
|
148
|
+
import { setKeyboardHeight } from '@atlaskit/editor-plugin-base';
|
|
149
149
|
import { setTextSelection } from '@atlaskit/editor-common/utils';
|
|
150
150
|
import type { SEVERITY } from '@atlaskit/editor-common/utils';
|
|
151
151
|
import type { TaskDecisionProvider } from '@atlaskit/task-decision';
|
|
@@ -258,20 +258,6 @@ export class AnnotationUpdateEmitter extends EventEmitter_2 {
|
|
|
258
258
|
on(event: UpdateEvent, listener: (annotationId: string) => void): this;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
// @public (undocumented)
|
|
262
|
-
interface BasePluginOptions {
|
|
263
|
-
// (undocumented)
|
|
264
|
-
allowInlineCursorTarget?: boolean;
|
|
265
|
-
// (undocumented)
|
|
266
|
-
allowScrollGutter?: ScrollGutterPluginOptions;
|
|
267
|
-
// (undocumented)
|
|
268
|
-
browserFreezeTracking?: BrowserFreezetracking;
|
|
269
|
-
// (undocumented)
|
|
270
|
-
inputTracking?: InputTracking;
|
|
271
|
-
// (undocumented)
|
|
272
|
-
ufo?: boolean;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
261
|
// @public (undocumented)
|
|
276
262
|
export class BaseReactEditorView<T = {}> extends ReactEditorView_2<T> {}
|
|
277
263
|
|
|
@@ -1820,14 +1806,6 @@ interface RectData {
|
|
|
1820
1806
|
// @public (undocumented)
|
|
1821
1807
|
export const removeStatus: (showStatusPickerAt: number) => Command;
|
|
1822
1808
|
|
|
1823
|
-
// @public (undocumented)
|
|
1824
|
-
type ScrollGutterPluginOptions = {
|
|
1825
|
-
getScrollElement?: (view: EditorView) => HTMLElement | null;
|
|
1826
|
-
allowCustomScrollHandler?: boolean;
|
|
1827
|
-
persistScrollGutter?: boolean;
|
|
1828
|
-
gutterSize?: number;
|
|
1829
|
-
};
|
|
1830
|
-
|
|
1831
1809
|
// @public (undocumented)
|
|
1832
1810
|
export type SelectionData =
|
|
1833
1811
|
| AllSelectionData
|
|
@@ -1857,8 +1835,7 @@ type SetEditorAPI = (editorApi: PublicPluginAPI<any>) => void;
|
|
|
1857
1835
|
// @public (undocumented)
|
|
1858
1836
|
export const setIsExpanded: (isExpanded: boolean) => Command_2;
|
|
1859
1837
|
|
|
1860
|
-
|
|
1861
|
-
export const setKeyboardHeight: (keyboardHeight: number) => Command_2;
|
|
1838
|
+
export { setKeyboardHeight };
|
|
1862
1839
|
|
|
1863
1840
|
// @public (undocumented)
|
|
1864
1841
|
export const setMobilePaddingTop: (paddingTop: number) => Command_2;
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -18,8 +18,8 @@ import type { AnalyticsEventPayload as AnalyticsEventPayload_2 } from '@atlaskit
|
|
|
18
18
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
19
19
|
import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
20
20
|
import type { AnnotationTypes } from '@atlaskit/adf-schema';
|
|
21
|
+
import type { BasePluginOptions } from '@atlaskit/editor-plugin-base';
|
|
21
22
|
import type { BlockTypePluginOptions } from '@atlaskit/editor-plugin-block-type';
|
|
22
|
-
import { BrowserFreezetracking } from '@atlaskit/editor-common/types';
|
|
23
23
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
24
24
|
import { CardProvider } from '@atlaskit/editor-common/provider-factory';
|
|
25
25
|
import { clearEditorContent } from '@atlaskit/editor-common/commands';
|
|
@@ -79,7 +79,6 @@ import type { GuidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
|
79
79
|
import type { HyperlinkPluginOptions } from '@atlaskit/editor-common/types';
|
|
80
80
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
81
81
|
import type { InputMethodInsertMedia } from '@atlaskit/editor-common/analytics';
|
|
82
|
-
import { InputTracking } from '@atlaskit/editor-common/types';
|
|
83
82
|
import { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
|
|
84
83
|
import { jsx } from '@emotion/react';
|
|
85
84
|
import { lightModeStatusColorPalette } from '@atlaskit/editor-common/ui-color';
|
|
@@ -135,6 +134,7 @@ import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
|
135
134
|
import type { SearchProvider } from '@atlaskit/editor-common/provider-factory';
|
|
136
135
|
import type { SelectionPluginOptions } from '@atlaskit/editor-common/selection';
|
|
137
136
|
import { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
|
|
137
|
+
import { setKeyboardHeight } from '@atlaskit/editor-plugin-base';
|
|
138
138
|
import { setTextSelection } from '@atlaskit/editor-common/utils';
|
|
139
139
|
import type { SEVERITY } from '@atlaskit/editor-common/utils';
|
|
140
140
|
import type { TaskDecisionProvider } from '@atlaskit/task-decision';
|
|
@@ -243,20 +243,6 @@ export class AnnotationUpdateEmitter extends EventEmitter_2 {
|
|
|
243
243
|
on(event: UpdateEvent, listener: (annotationId: string) => void): this;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
// @public (undocumented)
|
|
247
|
-
interface BasePluginOptions {
|
|
248
|
-
// (undocumented)
|
|
249
|
-
allowInlineCursorTarget?: boolean;
|
|
250
|
-
// (undocumented)
|
|
251
|
-
allowScrollGutter?: ScrollGutterPluginOptions;
|
|
252
|
-
// (undocumented)
|
|
253
|
-
browserFreezeTracking?: BrowserFreezetracking;
|
|
254
|
-
// (undocumented)
|
|
255
|
-
inputTracking?: InputTracking;
|
|
256
|
-
// (undocumented)
|
|
257
|
-
ufo?: boolean;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
246
|
// @public (undocumented)
|
|
261
247
|
export class BaseReactEditorView<T = {}> extends ReactEditorView_2<T> {
|
|
262
248
|
}
|
|
@@ -1636,14 +1622,6 @@ interface RectData {
|
|
|
1636
1622
|
// @public (undocumented)
|
|
1637
1623
|
export const removeStatus: (showStatusPickerAt: number) => Command;
|
|
1638
1624
|
|
|
1639
|
-
// @public (undocumented)
|
|
1640
|
-
type ScrollGutterPluginOptions = {
|
|
1641
|
-
getScrollElement?: (view: EditorView) => HTMLElement | null;
|
|
1642
|
-
allowCustomScrollHandler?: boolean;
|
|
1643
|
-
persistScrollGutter?: boolean;
|
|
1644
|
-
gutterSize?: number;
|
|
1645
|
-
};
|
|
1646
|
-
|
|
1647
1625
|
// @public (undocumented)
|
|
1648
1626
|
export type SelectionData = AllSelectionData | CellSelectionData | GapSelectionData | NodeSelectionData | TextSelectionData;
|
|
1649
1627
|
|
|
@@ -1668,8 +1646,7 @@ type SetEditorAPI = (editorApi: PublicPluginAPI<any>) => void;
|
|
|
1668
1646
|
// @public (undocumented)
|
|
1669
1647
|
export const setIsExpanded: (isExpanded: boolean) => Command_2;
|
|
1670
1648
|
|
|
1671
|
-
|
|
1672
|
-
export const setKeyboardHeight: (keyboardHeight: number) => Command_2;
|
|
1649
|
+
export { setKeyboardHeight }
|
|
1673
1650
|
|
|
1674
1651
|
// @public (undocumented)
|
|
1675
1652
|
export const setMobilePaddingTop: (paddingTop: number) => Command_2;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.setKeyboardHeight = void 0;
|
|
7
|
-
var _pluginKey = require("./pm-plugins/scroll-gutter/plugin-key");
|
|
8
|
-
var setKeyboardHeight = function setKeyboardHeight(keyboardHeight) {
|
|
9
|
-
return function (state, dispatch) {
|
|
10
|
-
var tr = state.tr;
|
|
11
|
-
tr.setMeta(_pluginKey.scrollGutterPluginKey, {
|
|
12
|
-
keyboardHeight: keyboardHeight
|
|
13
|
-
});
|
|
14
|
-
if (dispatch) {
|
|
15
|
-
dispatch(tr);
|
|
16
|
-
}
|
|
17
|
-
return true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
exports.setKeyboardHeight = setKeyboardHeight;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
Object.defineProperty(exports, "basePlugin", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function get() {
|
|
10
|
-
return _plugin.default;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
var _plugin = _interopRequireDefault(require("./plugin"));
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.isChromeWithSelectionBug = exports.default = void 0;
|
|
9
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
|
-
var _commands = require("@atlaskit/editor-prosemirror/commands");
|
|
11
|
-
var _history = require("@atlaskit/editor-prosemirror/history");
|
|
12
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
|
-
var _utils = require("@atlaskit/editor-common/utils");
|
|
14
|
-
var _adfSchema = require("@atlaskit/adf-schema");
|
|
15
|
-
var _filterSteps = _interopRequireDefault(require("./pm-plugins/filter-steps"));
|
|
16
|
-
var _fixChrome88Selection = _interopRequireDefault(require("./pm-plugins/fix-chrome-88-selection"));
|
|
17
|
-
var _disableSpellChecking = _interopRequireDefault(require("./pm-plugins/disable-spell-checking"));
|
|
18
|
-
var _contextIdentifier = _interopRequireWildcard(require("./pm-plugins/context-identifier"));
|
|
19
|
-
var _newlinePreserveMarks = _interopRequireDefault(require("./pm-plugins/newline-preserve-marks"));
|
|
20
|
-
var _inlineCursorTarget = _interopRequireDefault(require("./pm-plugins/inline-cursor-target"));
|
|
21
|
-
var _scrollGutter = _interopRequireWildcard(require("./pm-plugins/scroll-gutter"));
|
|
22
|
-
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
23
|
-
var _frozenEditor = _interopRequireDefault(require("./pm-plugins/frozen-editor"));
|
|
24
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
25
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
26
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
27
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
28
|
-
// Chrome >= 88
|
|
29
|
-
var isChromeWithSelectionBug = _utils.browser.chrome && _utils.browser.chrome_version >= 88;
|
|
30
|
-
exports.isChromeWithSelectionBug = isChromeWithSelectionBug;
|
|
31
|
-
var basePlugin = function basePlugin(_ref) {
|
|
32
|
-
var _api$featureFlags;
|
|
33
|
-
var options = _ref.config,
|
|
34
|
-
api = _ref.api;
|
|
35
|
-
var featureFlags = (api === null || api === void 0 ? void 0 : (_api$featureFlags = api.featureFlags) === null || _api$featureFlags === void 0 ? void 0 : _api$featureFlags.sharedState.currentState()) || {};
|
|
36
|
-
return {
|
|
37
|
-
name: 'base',
|
|
38
|
-
getSharedState: function getSharedState(editorState) {
|
|
39
|
-
return {
|
|
40
|
-
contextIdentifier: (0, _contextIdentifier.getContextIdentifier)(editorState),
|
|
41
|
-
keyboardHeight: (0, _scrollGutter.getKeyboardHeight)(editorState)
|
|
42
|
-
};
|
|
43
|
-
},
|
|
44
|
-
pmPlugins: function pmPlugins() {
|
|
45
|
-
var plugins = [{
|
|
46
|
-
name: 'filterStepsPlugin',
|
|
47
|
-
plugin: function plugin(_ref2) {
|
|
48
|
-
var dispatchAnalyticsEvent = _ref2.dispatchAnalyticsEvent;
|
|
49
|
-
return (0, _filterSteps.default)(dispatchAnalyticsEvent);
|
|
50
|
-
}
|
|
51
|
-
}];
|
|
52
|
-
|
|
53
|
-
// In Chrome, when the selection is placed between adjacent nodes which are not contenteditatble
|
|
54
|
-
// the cursor appears at the right most point of the parent container.
|
|
55
|
-
// In Firefox, when the selection is placed between adjacent nodes which are not contenteditatble
|
|
56
|
-
// no cursor is presented to users.
|
|
57
|
-
// In Safari, when the selection is placed between adjacent nodes which are not contenteditatble
|
|
58
|
-
// it is not possible to navigate with arrow keys.
|
|
59
|
-
// This plugin works around the issues by inserting decorations between
|
|
60
|
-
// inline nodes which are set as contenteditable, and have a zero width space.
|
|
61
|
-
plugins.push({
|
|
62
|
-
name: 'inlineCursorTargetPlugin',
|
|
63
|
-
plugin: function plugin() {
|
|
64
|
-
return options && options.allowInlineCursorTarget ? (0, _inlineCursorTarget.default)() : undefined;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
plugins.push({
|
|
68
|
-
name: 'newlinePreserveMarksPlugin',
|
|
69
|
-
plugin: _newlinePreserveMarks.default
|
|
70
|
-
}, {
|
|
71
|
-
name: 'frozenEditor',
|
|
72
|
-
plugin: function plugin(_ref3) {
|
|
73
|
-
var _options$inputTrackin;
|
|
74
|
-
var dispatchAnalyticsEvent = _ref3.dispatchAnalyticsEvent;
|
|
75
|
-
return options !== null && options !== void 0 && (_options$inputTrackin = options.inputTracking) !== null && _options$inputTrackin !== void 0 && _options$inputTrackin.enabled || options !== null && options !== void 0 && options.ufo ? (0, _frozenEditor.default)(dispatchAnalyticsEvent, options.inputTracking, options.browserFreezeTracking, options.ufo) : undefined;
|
|
76
|
-
}
|
|
77
|
-
}, {
|
|
78
|
-
name: 'history',
|
|
79
|
-
plugin: function plugin() {
|
|
80
|
-
return (0, _history.history)();
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
// should be last :(
|
|
84
|
-
{
|
|
85
|
-
name: 'codeBlockIndent',
|
|
86
|
-
plugin: function plugin() {
|
|
87
|
-
return (0, _keymaps.keymap)(_objectSpread(_objectSpread({}, _commands.baseKeymap), {}, {
|
|
88
|
-
'Mod-[': function Mod() {
|
|
89
|
-
return true;
|
|
90
|
-
},
|
|
91
|
-
'Mod-]': function Mod() {
|
|
92
|
-
return true;
|
|
93
|
-
}
|
|
94
|
-
}));
|
|
95
|
-
}
|
|
96
|
-
}, {
|
|
97
|
-
name: 'contextIdentifier',
|
|
98
|
-
plugin: function plugin(_ref4) {
|
|
99
|
-
var dispatch = _ref4.dispatch,
|
|
100
|
-
providerFactory = _ref4.providerFactory;
|
|
101
|
-
return (0, _contextIdentifier.default)(dispatch, providerFactory);
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
if (options && options.allowScrollGutter) {
|
|
105
|
-
plugins.push({
|
|
106
|
-
name: 'scrollGutterPlugin',
|
|
107
|
-
plugin: function plugin() {
|
|
108
|
-
return (0, _scrollGutter.default)(options.allowScrollGutter);
|
|
109
|
-
}
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
if (isChromeWithSelectionBug && !(0, _platformFeatureFlags.getBooleanFF)('platform.editor.disable-chrome-88-selection-fix_uk53m')) {
|
|
113
|
-
plugins.push({
|
|
114
|
-
name: 'fixChrome88SelectionPlugin',
|
|
115
|
-
plugin: function plugin() {
|
|
116
|
-
return (0, _fixChrome88Selection.default)();
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
plugins.push({
|
|
121
|
-
name: 'disableSpellcheckingPlugin',
|
|
122
|
-
plugin: function plugin() {
|
|
123
|
-
return (0, _disableSpellChecking.default)(featureFlags);
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
return plugins;
|
|
127
|
-
},
|
|
128
|
-
nodes: function nodes() {
|
|
129
|
-
return [{
|
|
130
|
-
name: 'doc',
|
|
131
|
-
node: _adfSchema.doc
|
|
132
|
-
}, {
|
|
133
|
-
name: 'paragraph',
|
|
134
|
-
node: _adfSchema.paragraph
|
|
135
|
-
}, {
|
|
136
|
-
name: 'text',
|
|
137
|
-
node: _adfSchema.text
|
|
138
|
-
}];
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
var _default = basePlugin;
|
|
143
|
-
exports.default = _default;
|