@atlaskit/editor-core 202.5.0 → 203.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 +58 -0
- package/dist/cjs/actions/index.js +6 -1
- package/dist/cjs/composable-editor/composable-editor.js +2 -2
- package/dist/cjs/create-editor/ReactEditorView.js +3 -3
- package/dist/cjs/create-editor/ReactEditorViewNext.js +3 -3
- package/dist/cjs/create-editor/create-editor.js +2 -2
- package/dist/cjs/create-editor/create-plugins-list.js +1 -1
- package/dist/cjs/create-editor/create-schema.js +3 -3
- package/dist/cjs/create-editor/get-ui-component.js +4 -4
- package/dist/cjs/editor-appearances/CommentEditor.js +2 -2
- package/dist/cjs/editor-appearances/FullPageEditor.js +2 -2
- package/dist/cjs/editor-appearances/FullWidthEditor.js +2 -2
- package/dist/cjs/editor.js +2 -1
- package/dist/cjs/index.js +4 -10
- package/dist/cjs/test-utils.js +4 -23
- package/dist/cjs/ui/Appearance/Comment/Comment.js +8 -8
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +2 -2
- package/dist/cjs/ui/ContentStyles/layout.js +2 -14
- package/dist/cjs/ui/PluginSlot/index.js +2 -2
- package/dist/cjs/ui/Toolbar/Toolbar.js +1 -1
- package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +1 -1
- package/dist/cjs/ui/Toolbar/toolbar-size.js +1 -1
- package/dist/cjs/ui/WithHelpTrigger/index.js +1 -1
- package/dist/cjs/utils/{index.js → whichTransitionEvent.js} +0 -15
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/actions/index.js +6 -1
- package/dist/es2019/composable-editor/composable-editor.js +1 -1
- package/dist/es2019/composable-editor.js +3 -0
- package/dist/es2019/create-editor/ReactEditorView.js +2 -2
- package/dist/es2019/create-editor/ReactEditorViewNext.js +2 -2
- package/dist/es2019/create-editor/create-editor.js +1 -1
- package/dist/es2019/create-editor/create-plugins-list.js +1 -1
- package/dist/es2019/create-editor/create-schema.js +1 -1
- package/dist/es2019/create-editor/get-ui-component.js +2 -2
- package/dist/es2019/editor-appearances/CommentEditor.js +1 -1
- package/dist/es2019/editor-appearances/FullPageEditor.js +1 -1
- package/dist/es2019/editor-appearances/FullWidthEditor.js +1 -1
- package/dist/es2019/editor-context.js +3 -0
- package/dist/es2019/editor.js +3 -0
- package/dist/es2019/i18n/index.js +3 -0
- package/dist/es2019/index.js +6 -2
- package/dist/es2019/labs-next.js +3 -0
- package/dist/es2019/preset-default.js +3 -0
- package/dist/es2019/preset-universal.js +3 -0
- package/dist/es2019/test-utils.js +4 -3
- package/dist/es2019/ui/Appearance/Comment/Comment.js +3 -3
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +1 -1
- package/dist/es2019/ui/ContentStyles/layout.js +11 -7
- package/dist/es2019/ui/PluginSlot/index.js +1 -1
- package/dist/es2019/ui/Toolbar/Toolbar.js +1 -1
- package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +1 -1
- package/dist/es2019/ui/Toolbar/toolbar-size.js +1 -2
- package/dist/es2019/ui/WithHelpTrigger/index.js +1 -1
- package/dist/es2019/utils/{index.js → whichTransitionEvent.js} +0 -3
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/actions/index.js +6 -1
- package/dist/esm/composable-editor/composable-editor.js +1 -1
- package/dist/esm/composable-editor.js +3 -0
- package/dist/esm/create-editor/ReactEditorView.js +2 -2
- package/dist/esm/create-editor/ReactEditorViewNext.js +2 -2
- package/dist/esm/create-editor/create-editor.js +1 -1
- package/dist/esm/create-editor/create-plugins-list.js +1 -1
- package/dist/esm/create-editor/create-schema.js +1 -1
- package/dist/esm/create-editor/get-ui-component.js +2 -2
- package/dist/esm/editor-appearances/CommentEditor.js +1 -1
- package/dist/esm/editor-appearances/FullPageEditor.js +1 -1
- package/dist/esm/editor-appearances/FullWidthEditor.js +1 -1
- package/dist/esm/editor-context.js +3 -0
- package/dist/esm/editor.js +3 -0
- package/dist/esm/i18n/index.js +3 -0
- package/dist/esm/index.js +6 -2
- package/dist/esm/labs-next.js +3 -0
- package/dist/esm/preset-default.js +3 -0
- package/dist/esm/preset-universal.js +3 -0
- package/dist/esm/test-utils.js +4 -3
- package/dist/esm/ui/Appearance/Comment/Comment.js +3 -3
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +1 -1
- package/dist/esm/ui/ContentStyles/layout.js +2 -3
- package/dist/esm/ui/PluginSlot/index.js +1 -1
- package/dist/esm/ui/Toolbar/Toolbar.js +1 -1
- package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +1 -1
- package/dist/esm/ui/Toolbar/toolbar-size.js +1 -2
- package/dist/esm/ui/WithHelpTrigger/index.js +1 -1
- package/dist/esm/utils/{index.js → whichTransitionEvent.js} +0 -3
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/actions/index.d.ts +5 -1
- package/dist/types/composable-editor/editor-internal.d.ts +1 -1
- package/dist/types/create-editor/ErrorBoundary.d.ts +1 -1
- package/dist/types/create-editor/ReactEditorView/formatFullWidthAppearance.d.ts +1 -1
- package/dist/types/create-editor/ReactEditorView.d.ts +4 -4
- package/dist/types/create-editor/ReactEditorViewNext.d.ts +1 -1
- package/dist/types/create-editor/create-editor.d.ts +2 -1
- package/dist/types/create-editor/create-plugins-list.d.ts +2 -1
- package/dist/types/create-editor/create-schema.d.ts +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +202 -101
- package/dist/types/create-editor/feature-flags-from-props.d.ts +1 -1
- package/dist/types/create-editor/get-plugins.d.ts +2 -4
- package/dist/types/create-editor/get-ui-component.d.ts +2 -1
- package/dist/types/editor.d.ts +1 -2
- package/dist/types/index.d.ts +3 -4
- package/dist/types/presets/default.d.ts +158 -70
- package/dist/types/presets/universal.d.ts +203 -103
- package/dist/types/presets/useUniversalPreset.d.ts +202 -101
- package/dist/types/test-utils.d.ts +1 -7
- package/dist/types/types/editor-appearance-component.d.ts +2 -6
- package/dist/types/types/editor-config.d.ts +1 -4
- package/dist/types/types/editor-instance.d.ts +2 -3
- package/dist/types/types/editor-props.d.ts +4 -8
- package/dist/types/types/index.d.ts +0 -9
- package/dist/types/types/pm-plugin-list.d.ts +1 -1
- package/dist/types/ui/Appearance/Chromeless.d.ts +1 -1
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +3 -4
- package/dist/types/ui/Appearance/FullPage/FullPageToolbar.d.ts +2 -3
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +4 -4
- package/dist/types/ui/ContentStyles/index.d.ts +3 -3
- package/dist/types/ui/ContentStyles/layout.d.ts +0 -2
- package/dist/types/ui/PluginSlot/index.d.ts +2 -3
- package/dist/types/ui/Toolbar/toolbar-size.d.ts +2 -2
- package/dist/types/ui/Toolbar/toolbar-types.d.ts +1 -2
- package/dist/types/utils/is-full-page.d.ts +1 -1
- package/dist/types/utils/performance/plugin-performance-observer.d.ts +2 -1
- package/dist/types/utils/performance/plugin-performance-report.d.ts +1 -2
- package/dist/types/utils/performance/track-transactions.d.ts +1 -1
- package/dist/types/utils/whichTransitionEvent.d.ts +1 -0
- package/dist/types-ts4.5/actions/index.d.ts +5 -1
- package/dist/types-ts4.5/composable-editor/editor-internal.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/ErrorBoundary.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/ReactEditorView/formatFullWidthAppearance.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +4 -4
- package/dist/types-ts4.5/create-editor/ReactEditorViewNext.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/create-editor.d.ts +2 -1
- package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +2 -1
- package/dist/types-ts4.5/create-editor/create-schema.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +239 -101
- package/dist/types-ts4.5/create-editor/feature-flags-from-props.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/get-plugins.d.ts +2 -4
- package/dist/types-ts4.5/create-editor/get-ui-component.d.ts +2 -1
- package/dist/types-ts4.5/editor.d.ts +1 -2
- package/dist/types-ts4.5/index.d.ts +3 -4
- package/dist/types-ts4.5/presets/default.d.ts +188 -70
- package/dist/types-ts4.5/presets/universal.d.ts +240 -103
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +239 -101
- package/dist/types-ts4.5/test-utils.d.ts +1 -7
- package/dist/types-ts4.5/types/editor-appearance-component.d.ts +2 -6
- package/dist/types-ts4.5/types/editor-config.d.ts +1 -4
- package/dist/types-ts4.5/types/editor-instance.d.ts +2 -3
- package/dist/types-ts4.5/types/editor-props.d.ts +4 -8
- package/dist/types-ts4.5/types/index.d.ts +0 -9
- package/dist/types-ts4.5/types/pm-plugin-list.d.ts +1 -1
- package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +1 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +3 -4
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +2 -3
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +4 -4
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/ContentStyles/layout.d.ts +0 -2
- package/dist/types-ts4.5/ui/PluginSlot/index.d.ts +2 -3
- package/dist/types-ts4.5/ui/Toolbar/toolbar-size.d.ts +2 -2
- package/dist/types-ts4.5/ui/Toolbar/toolbar-types.d.ts +1 -2
- package/dist/types-ts4.5/utils/is-full-page.d.ts +1 -1
- package/dist/types-ts4.5/utils/performance/plugin-performance-observer.d.ts +2 -1
- package/dist/types-ts4.5/utils/performance/plugin-performance-report.d.ts +1 -2
- package/dist/types-ts4.5/utils/performance/track-transactions.d.ts +1 -1
- package/dist/types-ts4.5/utils/whichTransitionEvent.d.ts +1 -0
- package/package.json +14 -17
- package/dist/cjs/create-editor/ReactEditorViewContext.js +0 -8
- package/dist/cjs/create-editor/index.js +0 -42
- package/dist/cjs/create-editor/sort-by-order.js +0 -18
- package/dist/cjs/element-browser.js +0 -12
- package/dist/cjs/event-dispatcher/index.js +0 -18
- package/dist/cjs/messages.js +0 -36
- package/dist/cjs/nodeviews/index.js +0 -1
- package/dist/cjs/preset-builder.js +0 -12
- package/dist/cjs/types/browser.js +0 -1
- package/dist/cjs/types/editor-appearance.js +0 -1
- package/dist/cjs/types/editor-plugin.js +0 -1
- package/dist/cjs/types/editor-react-context.js +0 -1
- package/dist/cjs/types/empty-state-handler.js +0 -1
- package/dist/cjs/types/feature-flags.js +0 -1
- package/dist/cjs/types/performance-tracking.js +0 -1
- package/dist/cjs/types/pm-config.js +0 -1
- package/dist/cjs/types/pm-plugin.js +0 -1
- package/dist/cjs/types/ui-components.js +0 -1
- package/dist/cjs/ui/Addon/index.js +0 -27
- package/dist/cjs/ui/Appearance/Comment/index.js +0 -12
- package/dist/cjs/ui/Appearance/FullPage/index.js +0 -12
- package/dist/cjs/ui/Toolbar/index.js +0 -26
- package/dist/cjs/ui/Toolbar/types.js +0 -36
- package/dist/es2019/create-editor/ReactEditorViewContext.js +0 -2
- package/dist/es2019/create-editor/index.js +0 -3
- package/dist/es2019/create-editor/sort-by-order.js +0 -1
- package/dist/es2019/element-browser.js +0 -1
- package/dist/es2019/event-dispatcher/index.js +0 -1
- package/dist/es2019/messages.js +0 -7
- package/dist/es2019/nodeviews/index.js +0 -0
- package/dist/es2019/preset-builder.js +0 -1
- package/dist/es2019/types/browser.js +0 -0
- package/dist/es2019/types/editor-appearance.js +0 -0
- package/dist/es2019/types/editor-plugin.js +0 -0
- package/dist/es2019/types/editor-react-context.js +0 -0
- package/dist/es2019/types/empty-state-handler.js +0 -0
- package/dist/es2019/types/feature-flags.js +0 -0
- package/dist/es2019/types/performance-tracking.js +0 -0
- package/dist/es2019/types/pm-config.js +0 -0
- package/dist/es2019/types/pm-plugin.js +0 -0
- package/dist/es2019/types/ui-components.js +0 -0
- package/dist/es2019/ui/Addon/index.js +0 -3
- package/dist/es2019/ui/Appearance/Comment/index.js +0 -1
- package/dist/es2019/ui/Appearance/FullPage/index.js +0 -1
- package/dist/es2019/ui/Toolbar/index.js +0 -3
- package/dist/es2019/ui/Toolbar/types.js +0 -1
- package/dist/esm/create-editor/ReactEditorViewContext.js +0 -2
- package/dist/esm/create-editor/index.js +0 -3
- package/dist/esm/create-editor/sort-by-order.js +0 -1
- package/dist/esm/element-browser.js +0 -1
- package/dist/esm/event-dispatcher/index.js +0 -1
- package/dist/esm/messages.js +0 -7
- package/dist/esm/nodeviews/index.js +0 -0
- package/dist/esm/preset-builder.js +0 -1
- package/dist/esm/types/browser.js +0 -0
- package/dist/esm/types/editor-appearance.js +0 -0
- package/dist/esm/types/editor-plugin.js +0 -0
- package/dist/esm/types/editor-react-context.js +0 -0
- package/dist/esm/types/empty-state-handler.js +0 -0
- package/dist/esm/types/feature-flags.js +0 -0
- package/dist/esm/types/performance-tracking.js +0 -0
- package/dist/esm/types/pm-config.js +0 -0
- package/dist/esm/types/pm-plugin.js +0 -0
- package/dist/esm/types/ui-components.js +0 -0
- package/dist/esm/ui/Addon/index.js +0 -3
- package/dist/esm/ui/Appearance/Comment/index.js +0 -1
- package/dist/esm/ui/Appearance/FullPage/index.js +0 -1
- package/dist/esm/ui/Toolbar/index.js +0 -3
- package/dist/esm/ui/Toolbar/types.js +0 -1
- package/dist/types/create-editor/ReactEditorViewContext.d.ts +0 -2
- package/dist/types/create-editor/index.d.ts +0 -3
- package/dist/types/create-editor/sort-by-order.d.ts +0 -1
- package/dist/types/element-browser.d.ts +0 -1
- package/dist/types/event-dispatcher/index.d.ts +0 -2
- package/dist/types/messages.d.ts +0 -6
- package/dist/types/nodeviews/index.d.ts +0 -1
- package/dist/types/preset-builder.d.ts +0 -1
- package/dist/types/types/browser.d.ts +0 -1
- package/dist/types/types/editor-appearance.d.ts +0 -1
- package/dist/types/types/editor-plugin.d.ts +0 -1
- package/dist/types/types/editor-react-context.d.ts +0 -1
- package/dist/types/types/empty-state-handler.d.ts +0 -1
- package/dist/types/types/feature-flags.d.ts +0 -1
- package/dist/types/types/performance-tracking.d.ts +0 -1
- package/dist/types/types/pm-config.d.ts +0 -1
- package/dist/types/types/pm-plugin.d.ts +0 -1
- package/dist/types/types/ui-components.d.ts +0 -1
- package/dist/types/ui/Addon/index.d.ts +0 -4
- package/dist/types/ui/Appearance/Comment/index.d.ts +0 -1
- package/dist/types/ui/Appearance/FullPage/index.d.ts +0 -1
- package/dist/types/ui/Toolbar/index.d.ts +0 -4
- package/dist/types/ui/Toolbar/types.d.ts +0 -2
- package/dist/types/utils/index.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/ReactEditorViewContext.d.ts +0 -2
- package/dist/types-ts4.5/create-editor/index.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/sort-by-order.d.ts +0 -1
- package/dist/types-ts4.5/element-browser.d.ts +0 -1
- package/dist/types-ts4.5/event-dispatcher/index.d.ts +0 -2
- package/dist/types-ts4.5/messages.d.ts +0 -6
- package/dist/types-ts4.5/nodeviews/index.d.ts +0 -1
- package/dist/types-ts4.5/preset-builder.d.ts +0 -1
- package/dist/types-ts4.5/types/browser.d.ts +0 -1
- package/dist/types-ts4.5/types/editor-appearance.d.ts +0 -1
- package/dist/types-ts4.5/types/editor-plugin.d.ts +0 -1
- package/dist/types-ts4.5/types/editor-react-context.d.ts +0 -1
- package/dist/types-ts4.5/types/empty-state-handler.d.ts +0 -1
- package/dist/types-ts4.5/types/feature-flags.d.ts +0 -1
- package/dist/types-ts4.5/types/performance-tracking.d.ts +0 -1
- package/dist/types-ts4.5/types/pm-config.d.ts +0 -1
- package/dist/types-ts4.5/types/pm-plugin.d.ts +0 -1
- package/dist/types-ts4.5/types/ui-components.d.ts +0 -1
- package/dist/types-ts4.5/ui/Addon/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/Appearance/Comment/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/Toolbar/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/Toolbar/types.d.ts +0 -2
- package/dist/types-ts4.5/utils/index.d.ts +0 -3
- package/element-browser/package.json +0 -15
- package/messages/package.json +0 -15
- package/preset-builder/package.json +0 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
1
2
|
import type { EditorNextProps } from '../types/editor-props';
|
|
2
|
-
import type { FeatureFlags } from '../types/feature-flags';
|
|
3
3
|
/**
|
|
4
4
|
* Transforms EditorProps to an FeatureFlags object,
|
|
5
5
|
* which is used by both current and archv3 editors.
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
3
|
+
import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
3
4
|
import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
4
5
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
5
6
|
import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
6
|
-
import type { ReactHookFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
|
|
7
|
+
import type { FeatureFlags, MarkConfig, NodeConfig, ReactHookFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
|
|
7
8
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
8
9
|
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
9
|
-
import type { Dispatch, EventDispatcher } from '../event-dispatcher';
|
|
10
|
-
import type { FeatureFlags } from '../types/feature-flags';
|
|
11
|
-
import type { MarkConfig, NodeConfig } from '../types/pm-config';
|
|
12
10
|
export type LightPMPluginFactoryParams = {
|
|
13
11
|
schema: Schema;
|
|
14
12
|
dispatch: Dispatch;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { EditorAppearance
|
|
2
|
+
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
3
|
+
import type { EditorAppearanceComponentProps } from '../types';
|
|
3
4
|
type ReturnType = React.ComponentType<React.PropsWithChildren<EditorAppearanceComponentProps<any[]>>>;
|
|
4
5
|
export default function getUiComponent(appearance: EditorAppearance): ReturnType;
|
|
5
6
|
export {};
|
package/dist/types/editor.d.ts
CHANGED
|
@@ -6,8 +6,7 @@ import React from 'react';
|
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import type { InitialPluginConfiguration } from './preset-universal';
|
|
8
8
|
import type { EditorProps } from './types/editor-props';
|
|
9
|
-
export type {
|
|
10
|
-
export type { FeedbackInfo } from '@atlaskit/editor-common/types';
|
|
9
|
+
export type { Command, CommandDispatch, DomAtPos, EditorAppearanceComponentProps, EditorConfig, EditorInstance, EditorProps, ExtensionConfig, ExtensionProvidersProp, MessageDescriptor, PMPluginCreateConfig, } from './types';
|
|
11
10
|
interface EditorPropsWithInitialPluginConfiguration extends EditorProps {
|
|
12
11
|
initialPluginConfiguration?: InitialPluginConfiguration;
|
|
13
12
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -22,9 +22,8 @@ export {
|
|
|
22
22
|
* DO NOT USE THIS WILL BE REMOVED SOON. This was intended for internal usage only
|
|
23
23
|
*/
|
|
24
24
|
ContextPanel, } from './ui/ContextPanel';
|
|
25
|
-
export
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export type { Command, EditorPlugin, EditorProps, EditorInstance, CommandDispatch } from './types';
|
|
25
|
+
export { getNodesCount } from './utils/getNodesCount';
|
|
26
|
+
export { default as measurements } from './utils/performance/measure-enum';
|
|
27
|
+
export type { Command, EditorProps, EditorInstance, CommandDispatch } from './types';
|
|
29
28
|
export { default as EditorActions } from './actions';
|
|
30
29
|
export { createEditorContentStyle } from './ui/ContentStyles';
|
|
@@ -224,7 +224,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
224
224
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
225
225
|
pluginConfiguration: FeatureFlags;
|
|
226
226
|
sharedState: FeatureFlags;
|
|
227
|
-
}, FeatureFlags
|
|
227
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
228
|
+
sharedState: {
|
|
229
|
+
mode: "offline" | "online";
|
|
230
|
+
};
|
|
231
|
+
}, undefined>>];
|
|
228
232
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
229
233
|
actions: {
|
|
230
234
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -310,7 +314,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
310
314
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
311
315
|
pluginConfiguration: FeatureFlags;
|
|
312
316
|
sharedState: FeatureFlags;
|
|
313
|
-
}, FeatureFlags
|
|
317
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
318
|
+
sharedState: {
|
|
319
|
+
mode: "offline" | "online";
|
|
320
|
+
};
|
|
321
|
+
}, undefined>>];
|
|
314
322
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
315
323
|
actions: {
|
|
316
324
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -420,11 +428,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
420
428
|
}, undefined>];
|
|
421
429
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
422
430
|
actions: {
|
|
423
|
-
displayGrid: (
|
|
424
|
-
visible: boolean;
|
|
425
|
-
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
426
|
-
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
427
|
-
}) => boolean;
|
|
431
|
+
displayGrid: import("@atlaskit/editor-plugin-grid").CreateDisplayGrid;
|
|
428
432
|
};
|
|
429
433
|
}, import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
430
434
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
@@ -574,7 +578,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
574
578
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
575
579
|
pluginConfiguration: FeatureFlags;
|
|
576
580
|
sharedState: FeatureFlags;
|
|
577
|
-
}, FeatureFlags
|
|
581
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
582
|
+
sharedState: {
|
|
583
|
+
mode: "offline" | "online";
|
|
584
|
+
};
|
|
585
|
+
}, undefined>>];
|
|
578
586
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
579
587
|
actions: {
|
|
580
588
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -660,7 +668,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
660
668
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
661
669
|
pluginConfiguration: FeatureFlags;
|
|
662
670
|
sharedState: FeatureFlags;
|
|
663
|
-
}, FeatureFlags
|
|
671
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
672
|
+
sharedState: {
|
|
673
|
+
mode: "offline" | "online";
|
|
674
|
+
};
|
|
675
|
+
}, undefined>>];
|
|
664
676
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
665
677
|
actions: {
|
|
666
678
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -867,7 +879,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
867
879
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
868
880
|
pluginConfiguration: FeatureFlags;
|
|
869
881
|
sharedState: FeatureFlags;
|
|
870
|
-
}, FeatureFlags
|
|
882
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
883
|
+
sharedState: {
|
|
884
|
+
mode: "offline" | "online";
|
|
885
|
+
};
|
|
886
|
+
}, undefined>>];
|
|
871
887
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
872
888
|
actions: {
|
|
873
889
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -915,7 +931,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
915
931
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
916
932
|
pluginConfiguration: FeatureFlags;
|
|
917
933
|
sharedState: FeatureFlags;
|
|
918
|
-
}, FeatureFlags
|
|
934
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
935
|
+
sharedState: {
|
|
936
|
+
mode: "offline" | "online";
|
|
937
|
+
};
|
|
938
|
+
}, undefined>>];
|
|
919
939
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
920
940
|
actions: {
|
|
921
941
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -1046,11 +1066,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1046
1066
|
}, undefined>];
|
|
1047
1067
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
1048
1068
|
actions: {
|
|
1049
|
-
displayGrid: (
|
|
1050
|
-
visible: boolean;
|
|
1051
|
-
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
1052
|
-
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
1053
|
-
}) => boolean;
|
|
1069
|
+
displayGrid: import("@atlaskit/editor-plugin-grid").CreateDisplayGrid;
|
|
1054
1070
|
};
|
|
1055
1071
|
}, import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
1056
1072
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -1192,7 +1208,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1192
1208
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1193
1209
|
pluginConfiguration: FeatureFlags;
|
|
1194
1210
|
sharedState: FeatureFlags;
|
|
1195
|
-
}, FeatureFlags
|
|
1211
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1212
|
+
sharedState: {
|
|
1213
|
+
mode: "offline" | "online";
|
|
1214
|
+
};
|
|
1215
|
+
}, undefined>>];
|
|
1196
1216
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1197
1217
|
actions: {
|
|
1198
1218
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -1278,7 +1298,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1278
1298
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1279
1299
|
pluginConfiguration: FeatureFlags;
|
|
1280
1300
|
sharedState: FeatureFlags;
|
|
1281
|
-
}, FeatureFlags
|
|
1301
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1302
|
+
sharedState: {
|
|
1303
|
+
mode: "offline" | "online";
|
|
1304
|
+
};
|
|
1305
|
+
}, undefined>>];
|
|
1282
1306
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1283
1307
|
actions: {
|
|
1284
1308
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -1428,7 +1452,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1428
1452
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1429
1453
|
pluginConfiguration: FeatureFlags;
|
|
1430
1454
|
sharedState: FeatureFlags;
|
|
1431
|
-
}, FeatureFlags
|
|
1455
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1456
|
+
sharedState: {
|
|
1457
|
+
mode: "offline" | "online";
|
|
1458
|
+
};
|
|
1459
|
+
}, undefined>>];
|
|
1432
1460
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1433
1461
|
actions: {
|
|
1434
1462
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -1494,7 +1522,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1494
1522
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1495
1523
|
pluginConfiguration: FeatureFlags;
|
|
1496
1524
|
sharedState: FeatureFlags;
|
|
1497
|
-
}, FeatureFlags
|
|
1525
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1526
|
+
sharedState: {
|
|
1527
|
+
mode: "offline" | "online";
|
|
1528
|
+
};
|
|
1529
|
+
}, undefined>>];
|
|
1498
1530
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1499
1531
|
actions: {
|
|
1500
1532
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -1632,11 +1664,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1632
1664
|
}, undefined>];
|
|
1633
1665
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
1634
1666
|
actions: {
|
|
1635
|
-
displayGrid: (
|
|
1636
|
-
visible: boolean;
|
|
1637
|
-
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
1638
|
-
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
1639
|
-
}) => boolean;
|
|
1667
|
+
displayGrid: import("@atlaskit/editor-plugin-grid").CreateDisplayGrid;
|
|
1640
1668
|
};
|
|
1641
1669
|
}, import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
1642
1670
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -1778,7 +1806,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1778
1806
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1779
1807
|
pluginConfiguration: FeatureFlags;
|
|
1780
1808
|
sharedState: FeatureFlags;
|
|
1781
|
-
}, FeatureFlags
|
|
1809
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1810
|
+
sharedState: {
|
|
1811
|
+
mode: "offline" | "online";
|
|
1812
|
+
};
|
|
1813
|
+
}, undefined>>];
|
|
1782
1814
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1783
1815
|
actions: {
|
|
1784
1816
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -1864,7 +1896,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1864
1896
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1865
1897
|
pluginConfiguration: FeatureFlags;
|
|
1866
1898
|
sharedState: FeatureFlags;
|
|
1867
|
-
}, FeatureFlags
|
|
1899
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1900
|
+
sharedState: {
|
|
1901
|
+
mode: "offline" | "online";
|
|
1902
|
+
};
|
|
1903
|
+
}, undefined>>];
|
|
1868
1904
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1869
1905
|
actions: {
|
|
1870
1906
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -1979,11 +2015,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1979
2015
|
}, undefined>];
|
|
1980
2016
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
1981
2017
|
actions: {
|
|
1982
|
-
displayGrid: (
|
|
1983
|
-
visible: boolean;
|
|
1984
|
-
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
1985
|
-
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
1986
|
-
}) => boolean;
|
|
2018
|
+
displayGrid: import("@atlaskit/editor-plugin-grid").CreateDisplayGrid;
|
|
1987
2019
|
};
|
|
1988
2020
|
}, import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1989
2021
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
@@ -2133,7 +2165,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2133
2165
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2134
2166
|
pluginConfiguration: FeatureFlags;
|
|
2135
2167
|
sharedState: FeatureFlags;
|
|
2136
|
-
}, FeatureFlags
|
|
2168
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
2169
|
+
sharedState: {
|
|
2170
|
+
mode: "offline" | "online";
|
|
2171
|
+
};
|
|
2172
|
+
}, undefined>>];
|
|
2137
2173
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
2138
2174
|
actions: {
|
|
2139
2175
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -2219,7 +2255,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2219
2255
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2220
2256
|
pluginConfiguration: FeatureFlags;
|
|
2221
2257
|
sharedState: FeatureFlags;
|
|
2222
|
-
}, FeatureFlags
|
|
2258
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
2259
|
+
sharedState: {
|
|
2260
|
+
mode: "offline" | "online";
|
|
2261
|
+
};
|
|
2262
|
+
}, undefined>>];
|
|
2223
2263
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
2224
2264
|
actions: {
|
|
2225
2265
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -2594,7 +2634,11 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2594
2634
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2595
2635
|
pluginConfiguration: FeatureFlags;
|
|
2596
2636
|
sharedState: FeatureFlags;
|
|
2597
|
-
}, FeatureFlags
|
|
2637
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
2638
|
+
sharedState: {
|
|
2639
|
+
mode: "offline" | "online";
|
|
2640
|
+
};
|
|
2641
|
+
}, undefined>>];
|
|
2598
2642
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
2599
2643
|
actions: {
|
|
2600
2644
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -2839,7 +2883,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2839
2883
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2840
2884
|
pluginConfiguration: FeatureFlags;
|
|
2841
2885
|
sharedState: FeatureFlags;
|
|
2842
|
-
}, FeatureFlags
|
|
2886
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
2887
|
+
sharedState: {
|
|
2888
|
+
mode: "offline" | "online";
|
|
2889
|
+
};
|
|
2890
|
+
}, undefined>>];
|
|
2843
2891
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
2844
2892
|
actions: {
|
|
2845
2893
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -2925,7 +2973,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2925
2973
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2926
2974
|
pluginConfiguration: FeatureFlags;
|
|
2927
2975
|
sharedState: FeatureFlags;
|
|
2928
|
-
}, FeatureFlags
|
|
2976
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
2977
|
+
sharedState: {
|
|
2978
|
+
mode: "offline" | "online";
|
|
2979
|
+
};
|
|
2980
|
+
}, undefined>>];
|
|
2929
2981
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
2930
2982
|
actions: {
|
|
2931
2983
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -3035,11 +3087,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3035
3087
|
}, undefined>];
|
|
3036
3088
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
3037
3089
|
actions: {
|
|
3038
|
-
displayGrid: (
|
|
3039
|
-
visible: boolean;
|
|
3040
|
-
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
3041
|
-
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
3042
|
-
}) => boolean;
|
|
3090
|
+
displayGrid: import("@atlaskit/editor-plugin-grid").CreateDisplayGrid;
|
|
3043
3091
|
};
|
|
3044
3092
|
}, import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
3045
3093
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
@@ -3189,7 +3237,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3189
3237
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3190
3238
|
pluginConfiguration: FeatureFlags;
|
|
3191
3239
|
sharedState: FeatureFlags;
|
|
3192
|
-
}, FeatureFlags
|
|
3240
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3241
|
+
sharedState: {
|
|
3242
|
+
mode: "offline" | "online";
|
|
3243
|
+
};
|
|
3244
|
+
}, undefined>>];
|
|
3193
3245
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
3194
3246
|
actions: {
|
|
3195
3247
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -3275,7 +3327,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3275
3327
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3276
3328
|
pluginConfiguration: FeatureFlags;
|
|
3277
3329
|
sharedState: FeatureFlags;
|
|
3278
|
-
}, FeatureFlags
|
|
3330
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3331
|
+
sharedState: {
|
|
3332
|
+
mode: "offline" | "online";
|
|
3333
|
+
};
|
|
3334
|
+
}, undefined>>];
|
|
3279
3335
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
3280
3336
|
actions: {
|
|
3281
3337
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -3482,7 +3538,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3482
3538
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3483
3539
|
pluginConfiguration: FeatureFlags;
|
|
3484
3540
|
sharedState: FeatureFlags;
|
|
3485
|
-
}, FeatureFlags
|
|
3541
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3542
|
+
sharedState: {
|
|
3543
|
+
mode: "offline" | "online";
|
|
3544
|
+
};
|
|
3545
|
+
}, undefined>>];
|
|
3486
3546
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
3487
3547
|
actions: {
|
|
3488
3548
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -3530,7 +3590,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3530
3590
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3531
3591
|
pluginConfiguration: FeatureFlags;
|
|
3532
3592
|
sharedState: FeatureFlags;
|
|
3533
|
-
}, FeatureFlags
|
|
3593
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3594
|
+
sharedState: {
|
|
3595
|
+
mode: "offline" | "online";
|
|
3596
|
+
};
|
|
3597
|
+
}, undefined>>];
|
|
3534
3598
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
3535
3599
|
actions: {
|
|
3536
3600
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -3661,11 +3725,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3661
3725
|
}, undefined>];
|
|
3662
3726
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
3663
3727
|
actions: {
|
|
3664
|
-
displayGrid: (
|
|
3665
|
-
visible: boolean;
|
|
3666
|
-
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
3667
|
-
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
3668
|
-
}) => boolean;
|
|
3728
|
+
displayGrid: import("@atlaskit/editor-plugin-grid").CreateDisplayGrid;
|
|
3669
3729
|
};
|
|
3670
3730
|
}, import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
3671
3731
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -3807,7 +3867,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3807
3867
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3808
3868
|
pluginConfiguration: FeatureFlags;
|
|
3809
3869
|
sharedState: FeatureFlags;
|
|
3810
|
-
}, FeatureFlags
|
|
3870
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3871
|
+
sharedState: {
|
|
3872
|
+
mode: "offline" | "online";
|
|
3873
|
+
};
|
|
3874
|
+
}, undefined>>];
|
|
3811
3875
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
3812
3876
|
actions: {
|
|
3813
3877
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -3893,7 +3957,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3893
3957
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3894
3958
|
pluginConfiguration: FeatureFlags;
|
|
3895
3959
|
sharedState: FeatureFlags;
|
|
3896
|
-
}, FeatureFlags
|
|
3960
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
3961
|
+
sharedState: {
|
|
3962
|
+
mode: "offline" | "online";
|
|
3963
|
+
};
|
|
3964
|
+
}, undefined>>];
|
|
3897
3965
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
3898
3966
|
actions: {
|
|
3899
3967
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -4043,7 +4111,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4043
4111
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4044
4112
|
pluginConfiguration: FeatureFlags;
|
|
4045
4113
|
sharedState: FeatureFlags;
|
|
4046
|
-
}, FeatureFlags
|
|
4114
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4115
|
+
sharedState: {
|
|
4116
|
+
mode: "offline" | "online";
|
|
4117
|
+
};
|
|
4118
|
+
}, undefined>>];
|
|
4047
4119
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
4048
4120
|
actions: {
|
|
4049
4121
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -4109,7 +4181,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4109
4181
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4110
4182
|
pluginConfiguration: FeatureFlags;
|
|
4111
4183
|
sharedState: FeatureFlags;
|
|
4112
|
-
}, FeatureFlags
|
|
4184
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4185
|
+
sharedState: {
|
|
4186
|
+
mode: "offline" | "online";
|
|
4187
|
+
};
|
|
4188
|
+
}, undefined>>];
|
|
4113
4189
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
4114
4190
|
actions: {
|
|
4115
4191
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -4247,11 +4323,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4247
4323
|
}, undefined>];
|
|
4248
4324
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
4249
4325
|
actions: {
|
|
4250
|
-
displayGrid: (
|
|
4251
|
-
visible: boolean;
|
|
4252
|
-
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
4253
|
-
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
4254
|
-
}) => boolean;
|
|
4326
|
+
displayGrid: import("@atlaskit/editor-plugin-grid").CreateDisplayGrid;
|
|
4255
4327
|
};
|
|
4256
4328
|
}, import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
4257
4329
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -4393,7 +4465,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4393
4465
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4394
4466
|
pluginConfiguration: FeatureFlags;
|
|
4395
4467
|
sharedState: FeatureFlags;
|
|
4396
|
-
}, FeatureFlags
|
|
4468
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4469
|
+
sharedState: {
|
|
4470
|
+
mode: "offline" | "online";
|
|
4471
|
+
};
|
|
4472
|
+
}, undefined>>];
|
|
4397
4473
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
4398
4474
|
actions: {
|
|
4399
4475
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -4479,7 +4555,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4479
4555
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4480
4556
|
pluginConfiguration: FeatureFlags;
|
|
4481
4557
|
sharedState: FeatureFlags;
|
|
4482
|
-
}, FeatureFlags
|
|
4558
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4559
|
+
sharedState: {
|
|
4560
|
+
mode: "offline" | "online";
|
|
4561
|
+
};
|
|
4562
|
+
}, undefined>>];
|
|
4483
4563
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
4484
4564
|
actions: {
|
|
4485
4565
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -4594,11 +4674,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4594
4674
|
}, undefined>];
|
|
4595
4675
|
sharedState: import("@atlaskit/editor-plugin-grid").GridPluginState | null;
|
|
4596
4676
|
actions: {
|
|
4597
|
-
displayGrid: (
|
|
4598
|
-
visible: boolean;
|
|
4599
|
-
gridType: import("@atlaskit/editor-common/types").GridType;
|
|
4600
|
-
highlight: import("@atlaskit/editor-plugin-grid").Highlights;
|
|
4601
|
-
}) => boolean;
|
|
4677
|
+
displayGrid: import("@atlaskit/editor-plugin-grid").CreateDisplayGrid;
|
|
4602
4678
|
};
|
|
4603
4679
|
}, import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
4604
4680
|
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
@@ -4748,7 +4824,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4748
4824
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4749
4825
|
pluginConfiguration: FeatureFlags;
|
|
4750
4826
|
sharedState: FeatureFlags;
|
|
4751
|
-
}, FeatureFlags
|
|
4827
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4828
|
+
sharedState: {
|
|
4829
|
+
mode: "offline" | "online";
|
|
4830
|
+
};
|
|
4831
|
+
}, undefined>>];
|
|
4752
4832
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
4753
4833
|
actions: {
|
|
4754
4834
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -4834,7 +4914,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4834
4914
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4835
4915
|
pluginConfiguration: FeatureFlags;
|
|
4836
4916
|
sharedState: FeatureFlags;
|
|
4837
|
-
}, FeatureFlags
|
|
4917
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
4918
|
+
sharedState: {
|
|
4919
|
+
mode: "offline" | "online";
|
|
4920
|
+
};
|
|
4921
|
+
}, undefined>>];
|
|
4838
4922
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
4839
4923
|
actions: {
|
|
4840
4924
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
@@ -5209,7 +5293,11 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5209
5293
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
5210
5294
|
pluginConfiguration: FeatureFlags;
|
|
5211
5295
|
sharedState: FeatureFlags;
|
|
5212
|
-
}, FeatureFlags
|
|
5296
|
+
}, FeatureFlags>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
5297
|
+
sharedState: {
|
|
5298
|
+
mode: "offline" | "online";
|
|
5299
|
+
};
|
|
5300
|
+
}, undefined>>];
|
|
5213
5301
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
5214
5302
|
actions: {
|
|
5215
5303
|
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|