@atlaskit/editor-core 187.3.6 → 187.4.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 +12 -0
- package/dist/cjs/plugins/text-formatting/commands/text-formatting.js +105 -88
- package/dist/cjs/plugins/text-formatting/index.js +8 -6
- package/dist/cjs/plugins/text-formatting/pm-plugins/keymap.js +8 -8
- package/dist/cjs/plugins/text-formatting/pm-plugins/main.js +5 -5
- package/dist/cjs/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.js +64 -59
- package/dist/cjs/plugins/text-formatting/ui/Toolbar/index.js +2 -1
- package/dist/cjs/ui/ColorPickerButton/index.js +8 -3
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/plugins/text-formatting/commands/text-formatting.js +18 -17
- package/dist/es2019/plugins/text-formatting/index.js +12 -6
- package/dist/es2019/plugins/text-formatting/pm-plugins/keymap.js +8 -8
- package/dist/es2019/plugins/text-formatting/pm-plugins/main.js +5 -5
- package/dist/es2019/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.js +24 -21
- package/dist/es2019/plugins/text-formatting/ui/Toolbar/index.js +2 -1
- package/dist/es2019/ui/ColorPickerButton/index.js +13 -5
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/plugins/text-formatting/commands/text-formatting.js +105 -88
- package/dist/esm/plugins/text-formatting/index.js +8 -6
- package/dist/esm/plugins/text-formatting/pm-plugins/keymap.js +8 -8
- package/dist/esm/plugins/text-formatting/pm-plugins/main.js +5 -5
- package/dist/esm/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.js +64 -59
- package/dist/esm/plugins/text-formatting/ui/Toolbar/index.js +2 -1
- package/dist/esm/ui/ColorPickerButton/index.js +9 -4
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/plugins/text-formatting/commands/text-formatting.d.ts +9 -9
- package/dist/types/plugins/text-formatting/pm-plugins/keymap.d.ts +2 -1
- package/dist/types/plugins/text-formatting/pm-plugins/main.d.ts +2 -1
- package/dist/types/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.d.ts +8 -3
- package/dist/types-ts4.5/plugins/text-formatting/commands/text-formatting.d.ts +9 -9
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/keymap.d.ts +2 -1
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/main.d.ts +2 -1
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.d.ts +8 -3
- package/package.json +3 -3
- package/report.api.md +21 -7
- package/tmp/api-report-tmp.d.ts +7 -7
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { Command } from '../../../types';
|
|
2
|
-
import { INPUT_METHOD } from '
|
|
2
|
+
import { INPUT_METHOD, EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
export declare const moveRight: () => Command;
|
|
4
4
|
export declare const moveLeft: () => Command;
|
|
5
5
|
export type InputMethodToolbar = INPUT_METHOD.TOOLBAR;
|
|
6
6
|
export type InputMethodBasic = InputMethodToolbar | INPUT_METHOD.SHORTCUT | INPUT_METHOD.FORMATTING;
|
|
7
7
|
export declare const toggleEm: () => Command;
|
|
8
|
-
export declare const toggleEmWithAnalytics: ({ inputMethod
|
|
8
|
+
export declare const toggleEmWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
9
9
|
inputMethod: InputMethodBasic;
|
|
10
10
|
}) => Command;
|
|
11
11
|
export declare const toggleStrike: () => Command;
|
|
12
|
-
export declare const toggleStrikeWithAnalytics: ({ inputMethod
|
|
12
|
+
export declare const toggleStrikeWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
13
13
|
inputMethod: InputMethodBasic;
|
|
14
14
|
}) => Command;
|
|
15
15
|
export declare const toggleStrong: () => Command;
|
|
16
|
-
export declare const toggleStrongWithAnalytics: ({ inputMethod
|
|
16
|
+
export declare const toggleStrongWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
17
17
|
inputMethod: InputMethodBasic;
|
|
18
18
|
}) => Command;
|
|
19
19
|
export declare const toggleUnderline: () => Command;
|
|
20
|
-
export declare const toggleUnderlineWithAnalytics: ({ inputMethod
|
|
20
|
+
export declare const toggleUnderlineWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
21
21
|
inputMethod: InputMethodBasic;
|
|
22
22
|
}) => Command;
|
|
23
23
|
export declare const toggleSuperscript: () => Command;
|
|
24
|
-
export declare const toggleSuperscriptWithAnalytics: ({ inputMethod
|
|
24
|
+
export declare const toggleSuperscriptWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
25
25
|
inputMethod: InputMethodBasic;
|
|
26
26
|
}) => Command;
|
|
27
27
|
export declare const toggleSubscript: () => Command;
|
|
28
|
-
export declare const toggleSubscriptWithAnalytics: ({ inputMethod
|
|
28
|
+
export declare const toggleSubscriptWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
29
29
|
inputMethod: InputMethodBasic;
|
|
30
30
|
}) => Command;
|
|
31
31
|
export declare const toggleCode: () => Command;
|
|
32
|
-
export declare const toggleCodeWithAnalytics: ({ inputMethod
|
|
32
|
+
export declare const toggleCodeWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
33
33
|
inputMethod: InputMethodBasic;
|
|
34
34
|
}) => Command;
|
|
35
|
-
export declare const createInlineCodeFromTextInputWithAnalytics: (from: number, to: number, text: string) => Command;
|
|
35
|
+
export declare const createInlineCodeFromTextInputWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (from: number, to: number, text: string) => Command;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { Schema } from 'prosemirror-model';
|
|
2
2
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
3
|
-
|
|
3
|
+
import { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
|
+
export default function keymapPlugin(schema: Schema, editorAnalyticsAPI: EditorAnalyticsAPI | undefined): SafePlugin;
|
|
@@ -2,6 +2,7 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
|
2
2
|
import { Dispatch } from '../../../event-dispatcher';
|
|
3
3
|
import { TextFormattingState } from '../types';
|
|
4
4
|
import { pluginKey } from './plugin-key';
|
|
5
|
+
import { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
5
6
|
export { pluginKey };
|
|
6
7
|
export type { TextFormattingState };
|
|
7
|
-
export declare const plugin: (dispatch: Dispatch) => SafePlugin<TextFormattingState>;
|
|
8
|
+
export declare const plugin: (dispatch: Dispatch, editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => SafePlugin<TextFormattingState>;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import { EditorState } from 'prosemirror-state';
|
|
2
|
-
import { IconHookProps, MenuIconItem
|
|
3
|
-
|
|
1
|
+
import type { EditorState } from 'prosemirror-state';
|
|
2
|
+
import type { IconHookProps, MenuIconItem } from '../types';
|
|
3
|
+
import { IconTypes } from '../types';
|
|
4
|
+
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
5
|
+
interface FormattingIconHookProps extends IconHookProps {
|
|
6
|
+
editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
|
|
7
|
+
}
|
|
8
|
+
export declare const useFormattingIcons: ({ isToolbarDisabled, editorState, intl, editorAnalyticsAPI, }: FormattingIconHookProps) => Array<MenuIconItem | null>;
|
|
4
9
|
type Props = {
|
|
5
10
|
editorState: EditorState;
|
|
6
11
|
iconTypeList: IconTypes[];
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { Command } from '../../../types';
|
|
2
|
-
import { INPUT_METHOD } from '
|
|
2
|
+
import { INPUT_METHOD, EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
3
|
export declare const moveRight: () => Command;
|
|
4
4
|
export declare const moveLeft: () => Command;
|
|
5
5
|
export type InputMethodToolbar = INPUT_METHOD.TOOLBAR;
|
|
6
6
|
export type InputMethodBasic = InputMethodToolbar | INPUT_METHOD.SHORTCUT | INPUT_METHOD.FORMATTING;
|
|
7
7
|
export declare const toggleEm: () => Command;
|
|
8
|
-
export declare const toggleEmWithAnalytics: ({ inputMethod
|
|
8
|
+
export declare const toggleEmWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
9
9
|
inputMethod: InputMethodBasic;
|
|
10
10
|
}) => Command;
|
|
11
11
|
export declare const toggleStrike: () => Command;
|
|
12
|
-
export declare const toggleStrikeWithAnalytics: ({ inputMethod
|
|
12
|
+
export declare const toggleStrikeWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
13
13
|
inputMethod: InputMethodBasic;
|
|
14
14
|
}) => Command;
|
|
15
15
|
export declare const toggleStrong: () => Command;
|
|
16
|
-
export declare const toggleStrongWithAnalytics: ({ inputMethod
|
|
16
|
+
export declare const toggleStrongWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
17
17
|
inputMethod: InputMethodBasic;
|
|
18
18
|
}) => Command;
|
|
19
19
|
export declare const toggleUnderline: () => Command;
|
|
20
|
-
export declare const toggleUnderlineWithAnalytics: ({ inputMethod
|
|
20
|
+
export declare const toggleUnderlineWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
21
21
|
inputMethod: InputMethodBasic;
|
|
22
22
|
}) => Command;
|
|
23
23
|
export declare const toggleSuperscript: () => Command;
|
|
24
|
-
export declare const toggleSuperscriptWithAnalytics: ({ inputMethod
|
|
24
|
+
export declare const toggleSuperscriptWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
25
25
|
inputMethod: InputMethodBasic;
|
|
26
26
|
}) => Command;
|
|
27
27
|
export declare const toggleSubscript: () => Command;
|
|
28
|
-
export declare const toggleSubscriptWithAnalytics: ({ inputMethod
|
|
28
|
+
export declare const toggleSubscriptWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
29
29
|
inputMethod: InputMethodBasic;
|
|
30
30
|
}) => Command;
|
|
31
31
|
export declare const toggleCode: () => Command;
|
|
32
|
-
export declare const toggleCodeWithAnalytics: ({ inputMethod
|
|
32
|
+
export declare const toggleCodeWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
33
33
|
inputMethod: InputMethodBasic;
|
|
34
34
|
}) => Command;
|
|
35
|
-
export declare const createInlineCodeFromTextInputWithAnalytics: (from: number, to: number, text: string) => Command;
|
|
35
|
+
export declare const createInlineCodeFromTextInputWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => (from: number, to: number, text: string) => Command;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { Schema } from 'prosemirror-model';
|
|
2
2
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
3
|
-
|
|
3
|
+
import { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
4
|
+
export default function keymapPlugin(schema: Schema, editorAnalyticsAPI: EditorAnalyticsAPI | undefined): SafePlugin;
|
|
@@ -2,6 +2,7 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
|
2
2
|
import { Dispatch } from '../../../event-dispatcher';
|
|
3
3
|
import { TextFormattingState } from '../types';
|
|
4
4
|
import { pluginKey } from './plugin-key';
|
|
5
|
+
import { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
5
6
|
export { pluginKey };
|
|
6
7
|
export type { TextFormattingState };
|
|
7
|
-
export declare const plugin: (dispatch: Dispatch) => SafePlugin<TextFormattingState>;
|
|
8
|
+
export declare const plugin: (dispatch: Dispatch, editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => SafePlugin<TextFormattingState>;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import { EditorState } from 'prosemirror-state';
|
|
2
|
-
import { IconHookProps, MenuIconItem
|
|
3
|
-
|
|
1
|
+
import type { EditorState } from 'prosemirror-state';
|
|
2
|
+
import type { IconHookProps, MenuIconItem } from '../types';
|
|
3
|
+
import { IconTypes } from '../types';
|
|
4
|
+
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
5
|
+
interface FormattingIconHookProps extends IconHookProps {
|
|
6
|
+
editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
|
|
7
|
+
}
|
|
8
|
+
export declare const useFormattingIcons: ({ isToolbarDisabled, editorState, intl, editorAnalyticsAPI, }: FormattingIconHookProps) => Array<MenuIconItem | null>;
|
|
4
9
|
type Props = {
|
|
5
10
|
editorState: EditorState;
|
|
6
11
|
iconTypeList: IconTypes[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "187.
|
|
3
|
+
"version": "187.4.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@atlaskit/code": "^14.6.0",
|
|
56
56
|
"@atlaskit/date": "^0.10.0",
|
|
57
57
|
"@atlaskit/datetime-picker": "^12.7.0",
|
|
58
|
-
"@atlaskit/editor-common": "^74.
|
|
58
|
+
"@atlaskit/editor-common": "^74.26.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",
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"@af/integration-testing": "*",
|
|
148
148
|
"@atlaskit/code": "^14.6.0",
|
|
149
149
|
"@atlaskit/collab-provider": "9.7.3",
|
|
150
|
-
"@atlaskit/dropdown-menu": "^11.
|
|
150
|
+
"@atlaskit/dropdown-menu": "^11.11.0",
|
|
151
151
|
"@atlaskit/editor-extension-dropbox": "^0.4.0",
|
|
152
152
|
"@atlaskit/editor-plugin-table": "^2.5.0",
|
|
153
153
|
"@atlaskit/editor-test-helpers": "^18.10.0",
|
package/report.api.md
CHANGED
|
@@ -2306,7 +2306,9 @@ function toggleBulletList(
|
|
|
2306
2306
|
export const toggleCode: () => Command;
|
|
2307
2307
|
|
|
2308
2308
|
// @public (undocumented)
|
|
2309
|
-
export const toggleCodeWithAnalytics: (
|
|
2309
|
+
export const toggleCodeWithAnalytics: (
|
|
2310
|
+
editorAnalyticsAPI: EditorAnalyticsAPI | undefined,
|
|
2311
|
+
) => ({
|
|
2310
2312
|
inputMethod,
|
|
2311
2313
|
}: {
|
|
2312
2314
|
inputMethod: TextFormattingInputMethodBasic;
|
|
@@ -2316,7 +2318,9 @@ export const toggleCodeWithAnalytics: ({
|
|
|
2316
2318
|
export const toggleEm: () => Command;
|
|
2317
2319
|
|
|
2318
2320
|
// @public (undocumented)
|
|
2319
|
-
export const toggleEmWithAnalytics: (
|
|
2321
|
+
export const toggleEmWithAnalytics: (
|
|
2322
|
+
editorAnalyticsAPI: EditorAnalyticsAPI | undefined,
|
|
2323
|
+
) => ({
|
|
2320
2324
|
inputMethod,
|
|
2321
2325
|
}: {
|
|
2322
2326
|
inputMethod: TextFormattingInputMethodBasic;
|
|
@@ -2332,7 +2336,9 @@ function toggleOrderedList(
|
|
|
2332
2336
|
export const toggleStrike: () => Command;
|
|
2333
2337
|
|
|
2334
2338
|
// @public (undocumented)
|
|
2335
|
-
export const toggleStrikeWithAnalytics: (
|
|
2339
|
+
export const toggleStrikeWithAnalytics: (
|
|
2340
|
+
editorAnalyticsAPI: EditorAnalyticsAPI | undefined,
|
|
2341
|
+
) => ({
|
|
2336
2342
|
inputMethod,
|
|
2337
2343
|
}: {
|
|
2338
2344
|
inputMethod: TextFormattingInputMethodBasic;
|
|
@@ -2342,7 +2348,9 @@ export const toggleStrikeWithAnalytics: ({
|
|
|
2342
2348
|
export const toggleStrong: () => Command;
|
|
2343
2349
|
|
|
2344
2350
|
// @public (undocumented)
|
|
2345
|
-
export const toggleStrongWithAnalytics: (
|
|
2351
|
+
export const toggleStrongWithAnalytics: (
|
|
2352
|
+
editorAnalyticsAPI: EditorAnalyticsAPI | undefined,
|
|
2353
|
+
) => ({
|
|
2346
2354
|
inputMethod,
|
|
2347
2355
|
}: {
|
|
2348
2356
|
inputMethod: TextFormattingInputMethodBasic;
|
|
@@ -2352,7 +2360,9 @@ export const toggleStrongWithAnalytics: ({
|
|
|
2352
2360
|
export const toggleSubscript: () => Command;
|
|
2353
2361
|
|
|
2354
2362
|
// @public (undocumented)
|
|
2355
|
-
export const toggleSubscriptWithAnalytics: (
|
|
2363
|
+
export const toggleSubscriptWithAnalytics: (
|
|
2364
|
+
editorAnalyticsAPI: EditorAnalyticsAPI | undefined,
|
|
2365
|
+
) => ({
|
|
2356
2366
|
inputMethod,
|
|
2357
2367
|
}: {
|
|
2358
2368
|
inputMethod: TextFormattingInputMethodBasic;
|
|
@@ -2362,7 +2372,9 @@ export const toggleSubscriptWithAnalytics: ({
|
|
|
2362
2372
|
export const toggleSuperscript: () => Command;
|
|
2363
2373
|
|
|
2364
2374
|
// @public (undocumented)
|
|
2365
|
-
export const toggleSuperscriptWithAnalytics: (
|
|
2375
|
+
export const toggleSuperscriptWithAnalytics: (
|
|
2376
|
+
editorAnalyticsAPI: EditorAnalyticsAPI | undefined,
|
|
2377
|
+
) => ({
|
|
2366
2378
|
inputMethod,
|
|
2367
2379
|
}: {
|
|
2368
2380
|
inputMethod: TextFormattingInputMethodBasic;
|
|
@@ -2372,7 +2384,9 @@ export const toggleSuperscriptWithAnalytics: ({
|
|
|
2372
2384
|
export const toggleUnderline: () => Command;
|
|
2373
2385
|
|
|
2374
2386
|
// @public (undocumented)
|
|
2375
|
-
export const toggleUnderlineWithAnalytics: (
|
|
2387
|
+
export const toggleUnderlineWithAnalytics: (
|
|
2388
|
+
editorAnalyticsAPI: EditorAnalyticsAPI | undefined,
|
|
2389
|
+
) => ({
|
|
2376
2390
|
inputMethod,
|
|
2377
2391
|
}: {
|
|
2378
2392
|
inputMethod: TextFormattingInputMethodBasic;
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -2069,7 +2069,7 @@ function toggleBulletList(view: EditorView, inputMethod?: ListInputMethod): bool
|
|
|
2069
2069
|
export const toggleCode: () => Command;
|
|
2070
2070
|
|
|
2071
2071
|
// @public (undocumented)
|
|
2072
|
-
export const toggleCodeWithAnalytics: ({ inputMethod
|
|
2072
|
+
export const toggleCodeWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
2073
2073
|
inputMethod: TextFormattingInputMethodBasic;
|
|
2074
2074
|
}) => Command;
|
|
2075
2075
|
|
|
@@ -2077,7 +2077,7 @@ export const toggleCodeWithAnalytics: ({ inputMethod, }: {
|
|
|
2077
2077
|
export const toggleEm: () => Command;
|
|
2078
2078
|
|
|
2079
2079
|
// @public (undocumented)
|
|
2080
|
-
export const toggleEmWithAnalytics: ({ inputMethod
|
|
2080
|
+
export const toggleEmWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
2081
2081
|
inputMethod: TextFormattingInputMethodBasic;
|
|
2082
2082
|
}) => Command;
|
|
2083
2083
|
|
|
@@ -2088,7 +2088,7 @@ function toggleOrderedList(view: EditorView, inputMethod?: ListInputMethod): boo
|
|
|
2088
2088
|
export const toggleStrike: () => Command;
|
|
2089
2089
|
|
|
2090
2090
|
// @public (undocumented)
|
|
2091
|
-
export const toggleStrikeWithAnalytics: ({ inputMethod
|
|
2091
|
+
export const toggleStrikeWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
2092
2092
|
inputMethod: TextFormattingInputMethodBasic;
|
|
2093
2093
|
}) => Command;
|
|
2094
2094
|
|
|
@@ -2096,7 +2096,7 @@ export const toggleStrikeWithAnalytics: ({ inputMethod, }: {
|
|
|
2096
2096
|
export const toggleStrong: () => Command;
|
|
2097
2097
|
|
|
2098
2098
|
// @public (undocumented)
|
|
2099
|
-
export const toggleStrongWithAnalytics: ({ inputMethod
|
|
2099
|
+
export const toggleStrongWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
2100
2100
|
inputMethod: TextFormattingInputMethodBasic;
|
|
2101
2101
|
}) => Command;
|
|
2102
2102
|
|
|
@@ -2104,7 +2104,7 @@ export const toggleStrongWithAnalytics: ({ inputMethod, }: {
|
|
|
2104
2104
|
export const toggleSubscript: () => Command;
|
|
2105
2105
|
|
|
2106
2106
|
// @public (undocumented)
|
|
2107
|
-
export const toggleSubscriptWithAnalytics: ({ inputMethod
|
|
2107
|
+
export const toggleSubscriptWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
2108
2108
|
inputMethod: TextFormattingInputMethodBasic;
|
|
2109
2109
|
}) => Command;
|
|
2110
2110
|
|
|
@@ -2112,7 +2112,7 @@ export const toggleSubscriptWithAnalytics: ({ inputMethod, }: {
|
|
|
2112
2112
|
export const toggleSuperscript: () => Command;
|
|
2113
2113
|
|
|
2114
2114
|
// @public (undocumented)
|
|
2115
|
-
export const toggleSuperscriptWithAnalytics: ({ inputMethod
|
|
2115
|
+
export const toggleSuperscriptWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
2116
2116
|
inputMethod: TextFormattingInputMethodBasic;
|
|
2117
2117
|
}) => Command;
|
|
2118
2118
|
|
|
@@ -2120,7 +2120,7 @@ export const toggleSuperscriptWithAnalytics: ({ inputMethod, }: {
|
|
|
2120
2120
|
export const toggleUnderline: () => Command;
|
|
2121
2121
|
|
|
2122
2122
|
// @public (undocumented)
|
|
2123
|
-
export const toggleUnderlineWithAnalytics: ({ inputMethod
|
|
2123
|
+
export const toggleUnderlineWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined) => ({ inputMethod }: {
|
|
2124
2124
|
inputMethod: TextFormattingInputMethodBasic;
|
|
2125
2125
|
}) => Command;
|
|
2126
2126
|
|