@atlaskit/editor-plugin-base 2.0.12 → 2.1.1

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.
@@ -1,24 +0,0 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
- export type ScrollGutterPluginOptions = {
4
- /** Element the page uses for scrolling */
5
- getScrollElement?: (view: EditorView) => HTMLElement | null;
6
- /**
7
- * @deprecated
8
- *
9
- * Whether to allow custom functionality to scroll to gutter element in
10
- * plugin's handleScrollToSelection function
11
- * Default is true
12
- */
13
- allowCustomScrollHandler?: boolean;
14
- /**
15
- * @deprecated
16
- *
17
- * Persist scroll gutter when the mobile appearance is COMPACT
18
- * Default is false
19
- */
20
- persistScrollGutter?: boolean;
21
- gutterSize?: number;
22
- };
23
- declare const _default: (pluginOptions?: ScrollGutterPluginOptions) => SafePlugin<{}> | undefined;
24
- export default _default;
@@ -1,24 +0,0 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
- export type ScrollGutterPluginOptions = {
4
- /** Element the page uses for scrolling */
5
- getScrollElement?: (view: EditorView) => HTMLElement | null;
6
- /**
7
- * @deprecated
8
- *
9
- * Whether to allow custom functionality to scroll to gutter element in
10
- * plugin's handleScrollToSelection function
11
- * Default is true
12
- */
13
- allowCustomScrollHandler?: boolean;
14
- /**
15
- * @deprecated
16
- *
17
- * Persist scroll gutter when the mobile appearance is COMPACT
18
- * Default is false
19
- */
20
- persistScrollGutter?: boolean;
21
- gutterSize?: number;
22
- };
23
- declare const _default: (pluginOptions?: ScrollGutterPluginOptions) => SafePlugin<{}> | undefined;
24
- export default _default;