@atlaskit/editor-core 187.44.10 → 187.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/labs/next/presets/universal.js +1 -1
- package/dist/cjs/plugins/media/commands/linking.js +1 -1
- package/dist/cjs/plugins/media/index.js +0 -1
- package/dist/cjs/plugins/media/nodeviews/mediaGroup.js +5 -6
- package/dist/cjs/plugins/media/nodeviews/mediaNodeView/media.js +2 -3
- package/dist/cjs/plugins/media/nodeviews/mediaSingle.js +5 -7
- package/dist/cjs/plugins/media/pm-plugins/alt-text/commands.js +1 -1
- package/dist/cjs/plugins/media/pm-plugins/alt-text/index.js +2 -3
- package/dist/cjs/plugins/media/pm-plugins/alt-text/ui/AltTextEdit.js +1 -2
- package/dist/cjs/plugins/media/pm-plugins/keymap-media-single.js +1 -1
- package/dist/cjs/plugins/media/pm-plugins/linking/index.js +2 -2
- package/dist/cjs/plugins/media/pm-plugins/main.js +1 -3
- package/dist/cjs/plugins/media/toolbar/alt-text.js +1 -1
- package/dist/cjs/plugins/media/toolbar/index.js +6 -4
- package/dist/cjs/plugins/media/toolbar/linking-toolbar-appearance.js +5 -6
- package/dist/cjs/plugins/media/ui/ImageBorder/index.js +2 -3
- package/dist/cjs/plugins/media/ui/MediaLinkingToolbar.js +2 -2
- package/dist/cjs/plugins/media/utils/media-common.js +8 -8
- package/dist/cjs/plugins/media/utils/media-files.js +7 -8
- package/dist/cjs/plugins/media/utils/media-single.js +4 -6
- package/dist/cjs/utils/document.js +9 -18
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/labs/next/presets/universal.js +1 -1
- package/dist/es2019/plugins/media/commands/linking.js +2 -2
- package/dist/es2019/plugins/media/index.js +0 -1
- package/dist/es2019/plugins/media/nodeviews/mediaGroup.js +1 -2
- package/dist/es2019/plugins/media/nodeviews/mediaNodeView/media.js +2 -1
- package/dist/es2019/plugins/media/nodeviews/mediaSingle.js +1 -3
- package/dist/es2019/plugins/media/pm-plugins/alt-text/commands.js +1 -1
- package/dist/es2019/plugins/media/pm-plugins/alt-text/index.js +1 -1
- package/dist/es2019/plugins/media/pm-plugins/alt-text/ui/AltTextEdit.js +1 -2
- package/dist/es2019/plugins/media/pm-plugins/keymap-media-single.js +1 -1
- package/dist/es2019/plugins/media/pm-plugins/linking/index.js +1 -1
- package/dist/es2019/plugins/media/pm-plugins/main.js +1 -3
- package/dist/es2019/plugins/media/toolbar/alt-text.js +1 -1
- package/dist/es2019/plugins/media/toolbar/index.js +1 -1
- package/dist/es2019/plugins/media/toolbar/linking-toolbar-appearance.js +2 -3
- package/dist/es2019/plugins/media/ui/ImageBorder/index.js +1 -1
- package/dist/es2019/plugins/media/ui/MediaLinkingToolbar.js +1 -1
- package/dist/es2019/plugins/media/utils/media-common.js +6 -4
- package/dist/es2019/plugins/media/utils/media-files.js +1 -2
- package/dist/es2019/plugins/media/utils/media-single.js +1 -3
- package/dist/es2019/utils/document.js +2 -19
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/labs/next/presets/universal.js +1 -1
- package/dist/esm/plugins/media/commands/linking.js +2 -2
- package/dist/esm/plugins/media/index.js +0 -1
- package/dist/esm/plugins/media/nodeviews/mediaGroup.js +1 -2
- package/dist/esm/plugins/media/nodeviews/mediaNodeView/media.js +2 -1
- package/dist/esm/plugins/media/nodeviews/mediaSingle.js +1 -3
- package/dist/esm/plugins/media/pm-plugins/alt-text/commands.js +1 -1
- package/dist/esm/plugins/media/pm-plugins/alt-text/index.js +1 -1
- package/dist/esm/plugins/media/pm-plugins/alt-text/ui/AltTextEdit.js +1 -2
- package/dist/esm/plugins/media/pm-plugins/keymap-media-single.js +1 -1
- package/dist/esm/plugins/media/pm-plugins/linking/index.js +1 -1
- package/dist/esm/plugins/media/pm-plugins/main.js +1 -3
- package/dist/esm/plugins/media/toolbar/alt-text.js +1 -1
- package/dist/esm/plugins/media/toolbar/index.js +1 -1
- package/dist/esm/plugins/media/toolbar/linking-toolbar-appearance.js +2 -3
- package/dist/esm/plugins/media/ui/ImageBorder/index.js +1 -1
- package/dist/esm/plugins/media/ui/MediaLinkingToolbar.js +1 -1
- package/dist/esm/plugins/media/utils/media-common.js +6 -4
- package/dist/esm/plugins/media/utils/media-files.js +1 -2
- package/dist/esm/plugins/media/utils/media-single.js +1 -3
- package/dist/esm/utils/document.js +5 -19
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/plugins/media/commands/captions.d.ts +1 -1
- package/dist/types/plugins/media/commands/helpers.d.ts +1 -1
- package/dist/types/plugins/media/commands/linking.d.ts +4 -5
- package/dist/types/plugins/media/media-plugin-options.d.ts +1 -2
- package/dist/types/plugins/media/nodeviews/mediaGroup.d.ts +3 -4
- package/dist/types/plugins/media/nodeviews/mediaNodeUpdater.d.ts +1 -1
- package/dist/types/plugins/media/nodeviews/mediaNodeView/index.d.ts +4 -5
- package/dist/types/plugins/media/nodeviews/mediaNodeView/media.d.ts +1 -2
- package/dist/types/plugins/media/nodeviews/mediaSingle.d.ts +4 -4
- package/dist/types/plugins/media/nodeviews/types.d.ts +6 -7
- package/dist/types/plugins/media/pm-plugins/alt-text/index.d.ts +1 -1
- package/dist/types/plugins/media/pm-plugins/linking/index.d.ts +1 -1
- package/dist/types/plugins/media/pm-plugins/main.d.ts +6 -7
- package/dist/types/plugins/media/pm-plugins/types.d.ts +2 -3
- package/dist/types/plugins/media/toolbar/alt-text.d.ts +2 -3
- package/dist/types/plugins/media/toolbar/commands.d.ts +2 -2
- package/dist/types/plugins/media/toolbar/index.d.ts +2 -2
- package/dist/types/plugins/media/toolbar/linking.d.ts +2 -2
- package/dist/types/plugins/media/types.d.ts +1 -0
- package/dist/types/plugins/media/ui/MediaPicker/DropzoneWrapper.d.ts +1 -1
- package/dist/types/plugins/media/ui/ResizableMediaSingle/types.d.ts +3 -3
- package/dist/types/plugins/media/utils/media-common.d.ts +1 -2
- package/dist/types/types/editor-props.d.ts +6 -0
- package/dist/types/utils/document.d.ts +2 -3
- package/dist/types-ts4.5/plugins/media/commands/captions.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/commands/helpers.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/commands/linking.d.ts +4 -5
- package/dist/types-ts4.5/plugins/media/media-plugin-options.d.ts +1 -2
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaGroup.d.ts +3 -4
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaNodeUpdater.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaNodeView/index.d.ts +4 -5
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaNodeView/media.d.ts +1 -2
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaSingle.d.ts +4 -4
- package/dist/types-ts4.5/plugins/media/nodeviews/types.d.ts +6 -7
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/pm-plugins/linking/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/pm-plugins/main.d.ts +6 -7
- package/dist/types-ts4.5/plugins/media/pm-plugins/types.d.ts +2 -3
- package/dist/types-ts4.5/plugins/media/toolbar/alt-text.d.ts +2 -3
- package/dist/types-ts4.5/plugins/media/toolbar/commands.d.ts +2 -2
- package/dist/types-ts4.5/plugins/media/toolbar/index.d.ts +2 -2
- package/dist/types-ts4.5/plugins/media/toolbar/linking.d.ts +2 -2
- package/dist/types-ts4.5/plugins/media/types.d.ts +1 -0
- package/dist/types-ts4.5/plugins/media/ui/MediaPicker/DropzoneWrapper.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/ui/ResizableMediaSingle/types.d.ts +3 -3
- package/dist/types-ts4.5/plugins/media/utils/media-common.d.ts +1 -2
- package/dist/types-ts4.5/types/editor-props.d.ts +6 -0
- package/dist/types-ts4.5/utils/document.d.ts +2 -3
- package/package.json +5 -1
- package/report.api.md +4 -2
- package/tmp/api-report-tmp.d.ts +4 -2
|
@@ -2,13 +2,12 @@ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
|
2
2
|
import type { MediaClientConfig } from '@atlaskit/media-core';
|
|
3
3
|
import type { RichMediaLayout as MediaSingleLayout } from '@atlaskit/adf-schema';
|
|
4
4
|
import type { ContextIdentifierProvider, MediaProvider } from '@atlaskit/editor-common/provider-factory';
|
|
5
|
-
import type { MediaOptions, MediaState } from '../types';
|
|
5
|
+
import type { ProsemirrorGetPosHandler, MediaOptions, MediaState } from '../types';
|
|
6
6
|
import type { MediaPluginOptions } from '../media-plugin-options';
|
|
7
7
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
8
8
|
import type { MediaStateEventSubscriber } from '../picker-facade';
|
|
9
9
|
import type PickerFacade from '../picker-facade';
|
|
10
|
-
import type { Dispatch } from '
|
|
11
|
-
import type { ProsemirrorGetPosHandler } from '../../../nodeviews/types';
|
|
10
|
+
import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
|
|
12
11
|
export interface MediaNodeWithPosHandler {
|
|
13
12
|
node: PMNode;
|
|
14
13
|
getPos: ProsemirrorGetPosHandler;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
|
-
import type { FloatingToolbarButton, FloatingToolbarCustom, FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type {
|
|
2
|
+
import type { Command, FloatingToolbarButton, FloatingToolbarCustom, FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
3
|
+
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import type { MediaToolbarBaseConfig } from '../types';
|
|
5
5
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
6
6
|
import type { ForceFocusSelector } from '@atlaskit/editor-plugin-floating-toolbar';
|
|
7
|
-
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
8
7
|
export declare const altTextButton: (intl: IntlShape, state: EditorState, editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => FloatingToolbarButton<Command>;
|
|
9
8
|
export declare const altTextEditComponent: (options?: AltTextToolbarOptions) => FloatingToolbarCustom<Command>;
|
|
10
9
|
export interface AltTextToolbarOptions {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BorderMarkAttributes, RichMediaLayout } from '@atlaskit/adf-schema';
|
|
2
|
-
import type { Command } from '../../../types';
|
|
3
|
-
import type { PixelEntryValidation } from '../ui/PixelEntry/types';
|
|
4
2
|
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
|
+
import type { Command } from '@atlaskit/editor-common/types';
|
|
4
|
+
import type { PixelEntryValidation } from '../ui/PixelEntry/types';
|
|
5
5
|
export declare const DEFAULT_BORDER_COLOR = "#091e4224";
|
|
6
6
|
export declare const DEFAULT_BORDER_SIZE = 2;
|
|
7
7
|
export declare const changeInlineToMediaCard: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => Command;
|
|
@@ -2,5 +2,5 @@ import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
|
2
2
|
import type { IntlShape } from 'react-intl-next';
|
|
3
3
|
import type { ExtractInjectionAPI, FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { MediaFloatingToolbarOptions } from '../types';
|
|
5
|
-
import type
|
|
6
|
-
export declare const floatingToolbar: (state: EditorState, intl: IntlShape, options: MediaFloatingToolbarOptions | undefined, pluginInjectionApi: ExtractInjectionAPI<
|
|
5
|
+
import type { MediaNextEditorPluginType } from '../next-plugin-type';
|
|
6
|
+
export declare const floatingToolbar: (state: EditorState, intl: IntlShape, options: MediaFloatingToolbarOptions | undefined, pluginInjectionApi: ExtractInjectionAPI<MediaNextEditorPluginType> | undefined) => FloatingToolbarConfig | undefined;
|
|
@@ -5,6 +5,6 @@ import type { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
|
5
5
|
import type { MediaLinkingState } from '../pm-plugins/linking';
|
|
6
6
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
7
7
|
import type { MediaToolbarBaseConfig } from '../types';
|
|
8
|
-
import type
|
|
8
|
+
import type { MediaNextEditorPluginType } from '../next-plugin-type';
|
|
9
9
|
export declare function shouldShowMediaLinkToolbar(editorState: EditorState): boolean;
|
|
10
|
-
export declare const getLinkingToolbar: (toolbarBaseConfig: MediaToolbarBaseConfig, mediaLinkingState: MediaLinkingState, state: EditorState, intl: IntlShape, pluginInjectionApi: ExtractInjectionAPI<
|
|
10
|
+
export declare const getLinkingToolbar: (toolbarBaseConfig: MediaToolbarBaseConfig, mediaLinkingState: MediaLinkingState, state: EditorState, intl: IntlShape, pluginInjectionApi: ExtractInjectionAPI<MediaNextEditorPluginType> | undefined, providerFactory?: ProviderFactory) => FloatingToolbarConfig | undefined;
|
|
@@ -109,6 +109,7 @@ export type MediaDecorationSpec = {
|
|
|
109
109
|
type: 'media';
|
|
110
110
|
selected: boolean;
|
|
111
111
|
};
|
|
112
|
+
export type ProsemirrorGetPosHandler = getPosHandlerNode;
|
|
112
113
|
export type getPosHandler = getPosHandlerNode;
|
|
113
114
|
export type getPosHandlerNode = () => number | undefined;
|
|
114
115
|
export interface ReactNodeProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { MediaPluginState } from '../../pm-plugins/types';
|
|
3
3
|
import type { MediaFeatureFlags } from '@atlaskit/media-common/mediaFeatureFlags';
|
|
4
|
-
import type { EditorAppearance } from '
|
|
4
|
+
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
5
5
|
type Props = {
|
|
6
6
|
mediaState: MediaPluginState;
|
|
7
7
|
isActive: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { RichMediaLayout as MediaSingleLayout } from '@atlaskit/adf-schema';
|
|
2
2
|
import type { MediaSingleProps } from '@atlaskit/editor-common/ui';
|
|
3
3
|
import type { MediaClientConfig } from '@atlaskit/media-core';
|
|
4
|
-
import type
|
|
4
|
+
import type { MediaNextEditorPluginType } from '../../next-plugin-type';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
6
|
-
import type { getPosHandler } from '
|
|
6
|
+
import type { getPosHandler } from '../../types';
|
|
7
7
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
8
8
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
9
9
|
export type EnabledHandles = {
|
|
@@ -23,5 +23,5 @@ export type Props = MediaSingleProps & {
|
|
|
23
23
|
fullWidthMode?: boolean;
|
|
24
24
|
dispatchAnalyticsEvent: DispatchAnalyticsEvent;
|
|
25
25
|
mediaSingleWidth?: number;
|
|
26
|
-
pluginInjectionApi: ExtractInjectionAPI<
|
|
26
|
+
pluginInjectionApi: ExtractInjectionAPI<MediaNextEditorPluginType> | undefined;
|
|
27
27
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { Node as PMNode, ResolvedPos, Slice, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
3
3
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
-
import type { ProsemirrorGetPosHandler } from '
|
|
5
|
-
import type { MediaState } from '../types';
|
|
4
|
+
import type { getPosHandler as ProsemirrorGetPosHandler, MediaState } from '../types';
|
|
6
5
|
import type { MediaADFAttrs } from '@atlaskit/adf-schema';
|
|
7
6
|
export declare const isMediaBlobUrlFromAttrs: (attrs: MediaADFAttrs) => boolean;
|
|
8
7
|
export declare const posOfMediaGroupNearby: (state: EditorState) => number | undefined;
|
|
@@ -212,8 +212,14 @@ export interface EditorPluginFeatureProps {
|
|
|
212
212
|
/**
|
|
213
213
|
* Enable experimental support for the "border" mark.
|
|
214
214
|
* Refer to ADF Change proposal #65 for more details.
|
|
215
|
+
* @deprecated Use allowBorderMark instead.
|
|
215
216
|
*/
|
|
216
217
|
UNSAFE_allowBorderMark?: boolean;
|
|
218
|
+
/**
|
|
219
|
+
* Enable support for the "border" mark.
|
|
220
|
+
* Refer to ADF Change proposal #65 for more details.
|
|
221
|
+
*/
|
|
222
|
+
allowBorderMark?: boolean;
|
|
217
223
|
/**
|
|
218
224
|
* Enable support for the "fragment" mark.
|
|
219
225
|
* Refer to ADF Change proposal #60 for more details.
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { Transaction, ReadonlyTransaction
|
|
3
|
+
import type { Transaction, ReadonlyTransaction } from '@atlaskit/editor-prosemirror/state';
|
|
4
4
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
5
5
|
import type { Transformer, ReplaceRawValue } from '@atlaskit/editor-common/types';
|
|
6
6
|
import type { DispatchAnalyticsEvent } from '../plugins/analytics/types/dispatch-analytics-event';
|
|
7
7
|
import type { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
8
|
-
export { findFarthestParentNode } from '@atlaskit/editor-common/utils';
|
|
9
|
-
export declare function isInEmptyLine(state: EditorState): boolean;
|
|
8
|
+
export { findFarthestParentNode, isInEmptyLine, } from '@atlaskit/editor-common/utils';
|
|
10
9
|
export declare function processRawFragmentValue(schema: Schema, value?: ReplaceRawValue[], providerFactory?: ProviderFactory, sanitizePrivateContent?: boolean, contentTransformer?: Transformer<string>, dispatchAnalyticsEvent?: DispatchAnalyticsEvent): Fragment | undefined;
|
|
11
10
|
export type ChangedFn = (node: Node, pos: number, parent: Node | null, index: number) => boolean | void;
|
|
12
11
|
export declare function getChangedNodesIn({ tr, doc, }: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "187.
|
|
3
|
+
"version": "187.45.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -287,6 +287,10 @@
|
|
|
287
287
|
"platform.editor.table.overflow-state-analytics": {
|
|
288
288
|
"type": "boolean",
|
|
289
289
|
"referenceOnly": "true"
|
|
290
|
+
},
|
|
291
|
+
"platform.editor.table.increase-shadow-visibility_lh89r": {
|
|
292
|
+
"type": "boolean",
|
|
293
|
+
"referenceOnly": "true"
|
|
290
294
|
}
|
|
291
295
|
}
|
|
292
296
|
}
|
package/report.api.md
CHANGED
|
@@ -767,6 +767,7 @@ interface EditorPluginFeatureProps {
|
|
|
767
767
|
allowAnalyticsGASV3?: boolean;
|
|
768
768
|
// (undocumented)
|
|
769
769
|
allowBlockType?: BlockTypePluginOptions['allowBlockType'];
|
|
770
|
+
allowBorderMark?: boolean;
|
|
770
771
|
// (undocumented)
|
|
771
772
|
allowBreakout?: boolean;
|
|
772
773
|
// (undocumented)
|
|
@@ -846,6 +847,7 @@ interface EditorPluginFeatureProps {
|
|
|
846
847
|
smartLinks?: CardOptions;
|
|
847
848
|
// (undocumented)
|
|
848
849
|
textFormatting?: TextFormattingOptions;
|
|
850
|
+
// @deprecated
|
|
849
851
|
UNSAFE_allowBorderMark?: boolean;
|
|
850
852
|
// @deprecated (undocumented)
|
|
851
853
|
UNSAFE_cards?: CardOptions;
|
|
@@ -1047,7 +1049,7 @@ export function getDefaultPresetOptionsFromEditorProps(
|
|
|
1047
1049
|
export function getNodesCount(node: Node_2): Record<string, number>;
|
|
1048
1050
|
|
|
1049
1051
|
// @public (undocumented)
|
|
1050
|
-
type getPosHandler =
|
|
1052
|
+
type getPosHandler = getPosHandlerNode;
|
|
1051
1053
|
|
|
1052
1054
|
// @public (undocumented)
|
|
1053
1055
|
type getPosHandlerNode = () => number | undefined;
|
|
@@ -1703,7 +1705,7 @@ type Props_5 = {
|
|
|
1703
1705
|
};
|
|
1704
1706
|
|
|
1705
1707
|
// @public (undocumented)
|
|
1706
|
-
type ProsemirrorGetPosHandler =
|
|
1708
|
+
type ProsemirrorGetPosHandler = getPosHandlerNode;
|
|
1707
1709
|
|
|
1708
1710
|
export { QuickInsertItem };
|
|
1709
1711
|
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -700,6 +700,7 @@ interface EditorPluginFeatureProps {
|
|
|
700
700
|
allowAnalyticsGASV3?: boolean;
|
|
701
701
|
// (undocumented)
|
|
702
702
|
allowBlockType?: BlockTypePluginOptions['allowBlockType'];
|
|
703
|
+
allowBorderMark?: boolean;
|
|
703
704
|
// (undocumented)
|
|
704
705
|
allowBreakout?: boolean;
|
|
705
706
|
// (undocumented)
|
|
@@ -775,6 +776,7 @@ interface EditorPluginFeatureProps {
|
|
|
775
776
|
smartLinks?: CardOptions;
|
|
776
777
|
// (undocumented)
|
|
777
778
|
textFormatting?: TextFormattingOptions;
|
|
779
|
+
// @deprecated
|
|
778
780
|
UNSAFE_allowBorderMark?: boolean;
|
|
779
781
|
// @deprecated (undocumented)
|
|
780
782
|
UNSAFE_cards?: CardOptions;
|
|
@@ -965,7 +967,7 @@ export function getDefaultPresetOptionsFromEditorProps(props: EditorProps, creat
|
|
|
965
967
|
export function getNodesCount(node: Node_2): Record<string, number>;
|
|
966
968
|
|
|
967
969
|
// @public (undocumented)
|
|
968
|
-
type getPosHandler =
|
|
970
|
+
type getPosHandler = getPosHandlerNode;
|
|
969
971
|
|
|
970
972
|
// @public (undocumented)
|
|
971
973
|
type getPosHandlerNode = () => number | undefined;
|
|
@@ -1539,7 +1541,7 @@ type Props_5 = {
|
|
|
1539
1541
|
};
|
|
1540
1542
|
|
|
1541
1543
|
// @public (undocumented)
|
|
1542
|
-
type ProsemirrorGetPosHandler =
|
|
1544
|
+
type ProsemirrorGetPosHandler = getPosHandlerNode;
|
|
1543
1545
|
|
|
1544
1546
|
export { QuickInsertItem }
|
|
1545
1547
|
|