@atlaskit/editor-core 198.3.0 → 198.3.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 +20 -0
- package/dist/cjs/composable-editor/hooks/useEditorMeasuresConstructor.js +1 -16
- package/dist/cjs/composable-editor/hooks/useMeasureEditorMountTime.js +1 -1
- package/dist/cjs/ui/Appearance/Comment/Toolbar.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/MainToolbar.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/hooks/useEditorMeasuresConstructor.js +1 -16
- package/dist/es2019/composable-editor/hooks/useMeasureEditorMountTime.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Toolbar.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/MainToolbar.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/hooks/useEditorMeasuresConstructor.js +1 -16
- package/dist/esm/composable-editor/hooks/useMeasureEditorMountTime.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Toolbar.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/MainToolbar.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/hooks/useEditorMeasuresConstructor.d.ts +1 -11
- package/dist/types/create-editor/create-universal-preset.d.ts +11 -0
- package/dist/types/presets/default.d.ts +10 -0
- package/dist/types/presets/universal.d.ts +11 -0
- package/dist/types/presets/useUniversalPreset.d.ts +11 -0
- package/dist/types-ts4.5/composable-editor/hooks/useEditorMeasuresConstructor.d.ts +1 -11
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +11 -0
- package/dist/types-ts4.5/presets/default.d.ts +10 -0
- package/dist/types-ts4.5/presets/universal.d.ts +11 -0
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +11 -0
- package/package.json +12 -8
- package/dist/cjs/composable-editor/utils/editorMeasureTTICallback.js +0 -45
- package/dist/es2019/composable-editor/utils/editorMeasureTTICallback.js +0 -41
- package/dist/esm/composable-editor/utils/editorMeasureTTICallback.js +0 -39
- package/dist/types/composable-editor/utils/editorMeasureTTICallback.d.ts +0 -5
- package/dist/types-ts4.5/composable-editor/utils/editorMeasureTTICallback.d.ts +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 198.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#147708](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/147708)
|
|
8
|
+
[`82148eb4038af`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/82148eb4038af) -
|
|
9
|
+
add lazy node view for inline card
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 198.3.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#147863](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/147863)
|
|
17
|
+
[`422082d3df962`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/422082d3df962) -
|
|
18
|
+
Remove TTI tracking analytics
|
|
19
|
+
- [#147531](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/147531)
|
|
20
|
+
[`8ae1e110621b7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ae1e110621b7) -
|
|
21
|
+
Internal changes to feature flag used to toggle new icons
|
|
22
|
+
|
|
3
23
|
## 198.3.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
|
@@ -7,9 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = useEditorConstructor;
|
|
8
8
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
9
9
|
var _performanceMeasures = require("@atlaskit/editor-common/performance-measures");
|
|
10
|
-
var _measureTti = require("@atlaskit/editor-common/performance/measure-tti");
|
|
11
10
|
var _measureEnum = _interopRequireDefault(require("../../utils/performance/measure-enum"));
|
|
12
|
-
var _editorMeasureTTICallback = _interopRequireDefault(require("../utils/editorMeasureTTICallback"));
|
|
13
11
|
/**
|
|
14
12
|
* @jsxRuntime classic
|
|
15
13
|
* @jsx jsx
|
|
@@ -19,22 +17,9 @@ var _editorMeasureTTICallback = _interopRequireDefault(require("../utils/editorM
|
|
|
19
17
|
*
|
|
20
18
|
* Hook to be used for running analytics on mounting the editor.
|
|
21
19
|
* Should run once.
|
|
22
|
-
* WARNING: Consider any changes to also make to `src/editor.tsx`
|
|
23
|
-
*
|
|
24
|
-
* @param performanceTracking
|
|
25
|
-
* @param featureFlags
|
|
26
|
-
* @param getExperienceStore function to retrieve the Editor's current ExperienceStore
|
|
27
|
-
* @param createAnalyticsEvent
|
|
28
20
|
*/
|
|
29
|
-
function useEditorConstructor(
|
|
21
|
+
function useEditorConstructor() {
|
|
30
22
|
(0, _hooks.useConstructor)(function () {
|
|
31
|
-
var _performanceTracking$;
|
|
32
23
|
(0, _performanceMeasures.startMeasure)(_measureEnum.default.EDITOR_MOUNTED);
|
|
33
|
-
if (performanceTracking !== null && performanceTracking !== void 0 && (_performanceTracking$ = performanceTracking.ttiTracking) !== null && _performanceTracking$ !== void 0 && _performanceTracking$.enabled || featureFlags !== null && featureFlags !== void 0 && featureFlags.ufo) {
|
|
34
|
-
var _performanceTracking$2, _performanceTracking$3;
|
|
35
|
-
(0, _measureTti.measureTTI)(function (tti, ttiFromInvocation, canceled, distortedDuration) {
|
|
36
|
-
(0, _editorMeasureTTICallback.default)(tti, ttiFromInvocation, canceled, distortedDuration, performanceTracking, featureFlags, createAnalyticsEvent, getExperienceStore());
|
|
37
|
-
}, performanceTracking === null || performanceTracking === void 0 || (_performanceTracking$2 = performanceTracking.ttiTracking) === null || _performanceTracking$2 === void 0 ? void 0 : _performanceTracking$2.ttiIdleThreshold, performanceTracking === null || performanceTracking === void 0 || (_performanceTracking$3 = performanceTracking.ttiTracking) === null || _performanceTracking$3 === void 0 ? void 0 : _performanceTracking$3.ttiCancelTimeout);
|
|
38
|
-
}
|
|
39
24
|
});
|
|
40
25
|
}
|
|
@@ -26,7 +26,7 @@ var _useEditorMeasuresConstructor = _interopRequireDefault(require("./useEditorM
|
|
|
26
26
|
* @param createAnalyticsEvent
|
|
27
27
|
*/
|
|
28
28
|
function useMeasureEditorMountTime(props, getExperienceStore, createAnalyticsEvent) {
|
|
29
|
-
(0, _useEditorMeasuresConstructor.default)(
|
|
29
|
+
(0, _useEditorMeasuresConstructor.default)();
|
|
30
30
|
(0, _react.useEffect)(function () {
|
|
31
31
|
(0, _performanceMeasures.stopMeasure)(_measureEnum.default.EDITOR_MOUNTED, (0, _sendDurationAnalytics.default)(_analytics.ACTION.EDITOR_MOUNTED, props, getExperienceStore, createAnalyticsEvent));
|
|
32
32
|
return function () {
|
|
@@ -28,7 +28,7 @@ var MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
|
|
|
28
28
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
|
|
29
29
|
var mainToolbarWrapperStyle = function mainToolbarWrapperStyle() {
|
|
30
30
|
var isTwoLineEditorToolbar = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
31
|
-
return (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tposition: relative;\n\talign-items: center;\n\tpadding: ", " ", " 0;\n\tdisplay: flex;\n\theight: auto;\n\tbackground-color: ", ";\n\tbox-shadow: none;\n\tpadding-left: ", ";\n\n\t& > div {\n\t\t> :first-child:not(style),\n\t\t> style:first-child + * {\n\t\t\tmargin-left: 0;\n\t\t}\n\t\t", "\n\t}\n\n\t.block-type-btn {\n\t\tpadding-left: 0;\n\t}\n\n\t", "\n"])), "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-surface, white)", "var(--ds-space-250, 20px)", isTwoLineEditorToolbar && "\n @media (max-width: ".concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n flex-direction: column-reverse;\n align-items: end;\n display: flex;\n justify-content: flex-end;\n }\n\n //make this more explicit for a toolbar\n > *:nth-child(1) {\n @media (max-width: ").concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n > div:nth-child(2) {\n justify-content: flex-end;\n display: flex;\n }\n }\n }\n "), (0, _platformFeatureFlags.fg)('platform
|
|
31
|
+
return (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tposition: relative;\n\talign-items: center;\n\tpadding: ", " ", " 0;\n\tdisplay: flex;\n\theight: auto;\n\tbackground-color: ", ";\n\tbox-shadow: none;\n\tpadding-left: ", ";\n\n\t& > div {\n\t\t> :first-child:not(style),\n\t\t> style:first-child + * {\n\t\t\tmargin-left: 0;\n\t\t}\n\t\t", "\n\t}\n\n\t.block-type-btn {\n\t\tpadding-left: 0;\n\t}\n\n\t", "\n"])), "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-surface, white)", "var(--ds-space-250, 20px)", isTwoLineEditorToolbar && "\n @media (max-width: ".concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n flex-direction: column-reverse;\n align-items: end;\n display: flex;\n justify-content: flex-end;\n }\n\n //make this more explicit for a toolbar\n > *:nth-child(1) {\n @media (max-width: ").concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n > div:nth-child(2) {\n justify-content: flex-end;\n display: flex;\n }\n }\n }\n "), (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && 'span svg { max-width: 100%; }');
|
|
32
32
|
};
|
|
33
33
|
/* eslint-enable @atlaskit/platform/ensure-feature-flag-registration */
|
|
34
34
|
|
|
@@ -61,7 +61,7 @@ var mainToolbar = function mainToolbar() {
|
|
|
61
61
|
height: "calc(".concat(editorToolbarHeight, " * 2)")
|
|
62
62
|
}),
|
|
63
63
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/platform/ensure-feature-flag-registration, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
64
|
-
(0, _platformFeatureFlags.fg)('platform
|
|
64
|
+
(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && flexibleIconSize);
|
|
65
65
|
};
|
|
66
66
|
var mainToolbarStyle = exports.mainToolbarStyle = function mainToolbarStyle(showKeyline, twoLineEditorToolbar) {
|
|
67
67
|
return [mainToolbar, showKeyline && mainToolbarWithKeyline, twoLineEditorToolbar && mainToolbarTwoLineStyle];
|
|
@@ -5,30 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
import { useConstructor } from '@atlaskit/editor-common/hooks';
|
|
7
7
|
import { startMeasure } from '@atlaskit/editor-common/performance-measures';
|
|
8
|
-
import { measureTTI } from '@atlaskit/editor-common/performance/measure-tti';
|
|
9
8
|
import measurements from '../../utils/performance/measure-enum';
|
|
10
|
-
import editorMeasureTTICallback from '../utils/editorMeasureTTICallback';
|
|
11
9
|
|
|
12
10
|
/**
|
|
13
11
|
*
|
|
14
12
|
* Hook to be used for running analytics on mounting the editor.
|
|
15
13
|
* Should run once.
|
|
16
|
-
* WARNING: Consider any changes to also make to `src/editor.tsx`
|
|
17
|
-
*
|
|
18
|
-
* @param performanceTracking
|
|
19
|
-
* @param featureFlags
|
|
20
|
-
* @param getExperienceStore function to retrieve the Editor's current ExperienceStore
|
|
21
|
-
* @param createAnalyticsEvent
|
|
22
14
|
*/
|
|
23
|
-
export default function useEditorConstructor(
|
|
15
|
+
export default function useEditorConstructor() {
|
|
24
16
|
useConstructor(() => {
|
|
25
|
-
var _performanceTracking$;
|
|
26
17
|
startMeasure(measurements.EDITOR_MOUNTED);
|
|
27
|
-
if (performanceTracking !== null && performanceTracking !== void 0 && (_performanceTracking$ = performanceTracking.ttiTracking) !== null && _performanceTracking$ !== void 0 && _performanceTracking$.enabled || featureFlags !== null && featureFlags !== void 0 && featureFlags.ufo) {
|
|
28
|
-
var _performanceTracking$2, _performanceTracking$3;
|
|
29
|
-
measureTTI((tti, ttiFromInvocation, canceled, distortedDuration) => {
|
|
30
|
-
editorMeasureTTICallback(tti, ttiFromInvocation, canceled, distortedDuration, performanceTracking, featureFlags, createAnalyticsEvent, getExperienceStore());
|
|
31
|
-
}, performanceTracking === null || performanceTracking === void 0 ? void 0 : (_performanceTracking$2 = performanceTracking.ttiTracking) === null || _performanceTracking$2 === void 0 ? void 0 : _performanceTracking$2.ttiIdleThreshold, performanceTracking === null || performanceTracking === void 0 ? void 0 : (_performanceTracking$3 = performanceTracking.ttiTracking) === null || _performanceTracking$3 === void 0 ? void 0 : _performanceTracking$3.ttiCancelTimeout);
|
|
32
|
-
}
|
|
33
18
|
});
|
|
34
19
|
}
|
|
@@ -19,7 +19,7 @@ import useEditorConstructor from './useEditorMeasuresConstructor';
|
|
|
19
19
|
* @param createAnalyticsEvent
|
|
20
20
|
*/
|
|
21
21
|
export default function useMeasureEditorMountTime(props, getExperienceStore, createAnalyticsEvent) {
|
|
22
|
-
useEditorConstructor(
|
|
22
|
+
useEditorConstructor();
|
|
23
23
|
useEffect(() => {
|
|
24
24
|
stopMeasure(measurements.EDITOR_MOUNTED, sendDurationAnalytics(ACTION.EDITOR_MOUNTED, props, getExperienceStore, createAnalyticsEvent));
|
|
25
25
|
return () => {
|
|
@@ -53,7 +53,7 @@ const mainToolbarWrapperStyle = (isTwoLineEditorToolbar = false) => css`
|
|
|
53
53
|
padding-left: 0;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
${fg('platform
|
|
56
|
+
${fg('platform-visual-refresh-icons') && 'span svg { max-width: 100%; }'}
|
|
57
57
|
`;
|
|
58
58
|
/* eslint-enable @atlaskit/platform/ensure-feature-flag-registration */
|
|
59
59
|
|
|
@@ -58,7 +58,7 @@ const mainToolbar = () => {
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/platform/ensure-feature-flag-registration, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
61
|
-
fg('platform
|
|
61
|
+
fg('platform-visual-refresh-icons') && flexibleIconSize);
|
|
62
62
|
};
|
|
63
63
|
export const mainToolbarStyle = (showKeyline, twoLineEditorToolbar) => [mainToolbar, showKeyline && mainToolbarWithKeyline, twoLineEditorToolbar && mainToolbarTwoLineStyle];
|
|
64
64
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "198.3.
|
|
2
|
+
export const version = "198.3.2";
|
|
@@ -5,30 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
import { useConstructor } from '@atlaskit/editor-common/hooks';
|
|
7
7
|
import { startMeasure } from '@atlaskit/editor-common/performance-measures';
|
|
8
|
-
import { measureTTI } from '@atlaskit/editor-common/performance/measure-tti';
|
|
9
8
|
import measurements from '../../utils/performance/measure-enum';
|
|
10
|
-
import editorMeasureTTICallback from '../utils/editorMeasureTTICallback';
|
|
11
9
|
|
|
12
10
|
/**
|
|
13
11
|
*
|
|
14
12
|
* Hook to be used for running analytics on mounting the editor.
|
|
15
13
|
* Should run once.
|
|
16
|
-
* WARNING: Consider any changes to also make to `src/editor.tsx`
|
|
17
|
-
*
|
|
18
|
-
* @param performanceTracking
|
|
19
|
-
* @param featureFlags
|
|
20
|
-
* @param getExperienceStore function to retrieve the Editor's current ExperienceStore
|
|
21
|
-
* @param createAnalyticsEvent
|
|
22
14
|
*/
|
|
23
|
-
export default function useEditorConstructor(
|
|
15
|
+
export default function useEditorConstructor() {
|
|
24
16
|
useConstructor(function () {
|
|
25
|
-
var _performanceTracking$;
|
|
26
17
|
startMeasure(measurements.EDITOR_MOUNTED);
|
|
27
|
-
if (performanceTracking !== null && performanceTracking !== void 0 && (_performanceTracking$ = performanceTracking.ttiTracking) !== null && _performanceTracking$ !== void 0 && _performanceTracking$.enabled || featureFlags !== null && featureFlags !== void 0 && featureFlags.ufo) {
|
|
28
|
-
var _performanceTracking$2, _performanceTracking$3;
|
|
29
|
-
measureTTI(function (tti, ttiFromInvocation, canceled, distortedDuration) {
|
|
30
|
-
editorMeasureTTICallback(tti, ttiFromInvocation, canceled, distortedDuration, performanceTracking, featureFlags, createAnalyticsEvent, getExperienceStore());
|
|
31
|
-
}, performanceTracking === null || performanceTracking === void 0 || (_performanceTracking$2 = performanceTracking.ttiTracking) === null || _performanceTracking$2 === void 0 ? void 0 : _performanceTracking$2.ttiIdleThreshold, performanceTracking === null || performanceTracking === void 0 || (_performanceTracking$3 = performanceTracking.ttiTracking) === null || _performanceTracking$3 === void 0 ? void 0 : _performanceTracking$3.ttiCancelTimeout);
|
|
32
|
-
}
|
|
33
18
|
});
|
|
34
19
|
}
|
|
@@ -19,7 +19,7 @@ import useEditorConstructor from './useEditorMeasuresConstructor';
|
|
|
19
19
|
* @param createAnalyticsEvent
|
|
20
20
|
*/
|
|
21
21
|
export default function useMeasureEditorMountTime(props, getExperienceStore, createAnalyticsEvent) {
|
|
22
|
-
useEditorConstructor(
|
|
22
|
+
useEditorConstructor();
|
|
23
23
|
useEffect(function () {
|
|
24
24
|
stopMeasure(measurements.EDITOR_MOUNTED, sendDurationAnalytics(ACTION.EDITOR_MOUNTED, props, getExperienceStore, createAnalyticsEvent));
|
|
25
25
|
return function () {
|
|
@@ -20,7 +20,7 @@ var MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
|
|
|
20
20
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
|
|
21
21
|
var mainToolbarWrapperStyle = function mainToolbarWrapperStyle() {
|
|
22
22
|
var isTwoLineEditorToolbar = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
23
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tposition: relative;\n\talign-items: center;\n\tpadding: ", " ", " 0;\n\tdisplay: flex;\n\theight: auto;\n\tbackground-color: ", ";\n\tbox-shadow: none;\n\tpadding-left: ", ";\n\n\t& > div {\n\t\t> :first-child:not(style),\n\t\t> style:first-child + * {\n\t\t\tmargin-left: 0;\n\t\t}\n\t\t", "\n\t}\n\n\t.block-type-btn {\n\t\tpadding-left: 0;\n\t}\n\n\t", "\n"])), "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-surface, white)", "var(--ds-space-250, 20px)", isTwoLineEditorToolbar && "\n @media (max-width: ".concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n flex-direction: column-reverse;\n align-items: end;\n display: flex;\n justify-content: flex-end;\n }\n\n //make this more explicit for a toolbar\n > *:nth-child(1) {\n @media (max-width: ").concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n > div:nth-child(2) {\n justify-content: flex-end;\n display: flex;\n }\n }\n }\n "), fg('platform
|
|
23
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tposition: relative;\n\talign-items: center;\n\tpadding: ", " ", " 0;\n\tdisplay: flex;\n\theight: auto;\n\tbackground-color: ", ";\n\tbox-shadow: none;\n\tpadding-left: ", ";\n\n\t& > div {\n\t\t> :first-child:not(style),\n\t\t> style:first-child + * {\n\t\t\tmargin-left: 0;\n\t\t}\n\t\t", "\n\t}\n\n\t.block-type-btn {\n\t\tpadding-left: 0;\n\t}\n\n\t", "\n"])), "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-surface, white)", "var(--ds-space-250, 20px)", isTwoLineEditorToolbar && "\n @media (max-width: ".concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n flex-direction: column-reverse;\n align-items: end;\n display: flex;\n justify-content: flex-end;\n }\n\n //make this more explicit for a toolbar\n > *:nth-child(1) {\n @media (max-width: ").concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n > div:nth-child(2) {\n justify-content: flex-end;\n display: flex;\n }\n }\n }\n "), fg('platform-visual-refresh-icons') && 'span svg { max-width: 100%; }');
|
|
24
24
|
};
|
|
25
25
|
/* eslint-enable @atlaskit/platform/ensure-feature-flag-registration */
|
|
26
26
|
|
|
@@ -53,7 +53,7 @@ var mainToolbar = function mainToolbar() {
|
|
|
53
53
|
height: "calc(".concat(editorToolbarHeight, " * 2)")
|
|
54
54
|
}),
|
|
55
55
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/platform/ensure-feature-flag-registration, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
56
|
-
fg('platform
|
|
56
|
+
fg('platform-visual-refresh-icons') && flexibleIconSize);
|
|
57
57
|
};
|
|
58
58
|
export var mainToolbarStyle = function mainToolbarStyle(showKeyline, twoLineEditorToolbar) {
|
|
59
59
|
return [mainToolbar, showKeyline && mainToolbarWithKeyline, twoLineEditorToolbar && mainToolbarTwoLineStyle];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "198.3.
|
|
2
|
+
export var version = "198.3.2";
|
|
@@ -2,19 +2,9 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
6
|
-
import type { ExperienceStore } from '@atlaskit/editor-common/ufo';
|
|
7
|
-
import type { EditorProps } from '../../types/editor-props';
|
|
8
|
-
import type { PerformanceTracking } from '../../types/performance-tracking';
|
|
9
5
|
/**
|
|
10
6
|
*
|
|
11
7
|
* Hook to be used for running analytics on mounting the editor.
|
|
12
8
|
* Should run once.
|
|
13
|
-
* WARNING: Consider any changes to also make to `src/editor.tsx`
|
|
14
|
-
*
|
|
15
|
-
* @param performanceTracking
|
|
16
|
-
* @param featureFlags
|
|
17
|
-
* @param getExperienceStore function to retrieve the Editor's current ExperienceStore
|
|
18
|
-
* @param createAnalyticsEvent
|
|
19
9
|
*/
|
|
20
|
-
export default function useEditorConstructor(
|
|
10
|
+
export default function useEditorConstructor(): void;
|
|
@@ -295,6 +295,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
295
295
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
296
296
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
297
297
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
298
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
298
299
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
299
300
|
};
|
|
300
301
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -640,6 +641,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
640
641
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
641
642
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
642
643
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
644
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
643
645
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
644
646
|
};
|
|
645
647
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -1640,6 +1642,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1640
1642
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
1641
1643
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1642
1644
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1645
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1643
1646
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1644
1647
|
};
|
|
1645
1648
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -2368,6 +2371,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2368
2371
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
2369
2372
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2370
2373
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2374
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2371
2375
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2372
2376
|
};
|
|
2373
2377
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -3247,6 +3251,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3247
3251
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
3248
3252
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3249
3253
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3254
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3250
3255
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3251
3256
|
};
|
|
3252
3257
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -3692,6 +3697,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3692
3697
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
3693
3698
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3694
3699
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3700
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3695
3701
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3696
3702
|
};
|
|
3697
3703
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -4431,6 +4437,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4431
4437
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
4432
4438
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4433
4439
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4440
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4434
4441
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4435
4442
|
};
|
|
4436
4443
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -4778,6 +4785,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4778
4785
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
4779
4786
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4780
4787
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4788
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4781
4789
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4782
4790
|
};
|
|
4783
4791
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -5363,6 +5371,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5363
5371
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
5364
5372
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5365
5373
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5374
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5366
5375
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5367
5376
|
};
|
|
5368
5377
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -5935,6 +5944,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5935
5944
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
5936
5945
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5937
5946
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5947
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5938
5948
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5939
5949
|
};
|
|
5940
5950
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -6280,6 +6290,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
6280
6290
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
6281
6291
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6282
6292
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6293
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6283
6294
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6284
6295
|
};
|
|
6285
6296
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -271,6 +271,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
271
271
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
272
272
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
273
273
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
274
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
274
275
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
275
276
|
};
|
|
276
277
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -618,6 +619,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
618
619
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
619
620
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
620
621
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
622
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
621
623
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
622
624
|
};
|
|
623
625
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -1203,6 +1205,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1203
1205
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
1204
1206
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1205
1207
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1208
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1206
1209
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1207
1210
|
};
|
|
1208
1211
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -1775,6 +1778,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1775
1778
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
1776
1779
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1777
1780
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1781
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1778
1782
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1779
1783
|
};
|
|
1780
1784
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -2120,6 +2124,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2120
2124
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
2121
2125
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2122
2126
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2127
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2123
2128
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2124
2129
|
};
|
|
2125
2130
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -2767,6 +2772,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2767
2772
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
2768
2773
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2769
2774
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2775
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2770
2776
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2771
2777
|
};
|
|
2772
2778
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -3114,6 +3120,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3114
3120
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
3115
3121
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3116
3122
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3123
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3117
3124
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3118
3125
|
};
|
|
3119
3126
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -3699,6 +3706,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3699
3706
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
3700
3707
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3701
3708
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3709
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3702
3710
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3703
3711
|
};
|
|
3704
3712
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -4271,6 +4279,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4271
4279
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
4272
4280
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4273
4281
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4282
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4274
4283
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4275
4284
|
};
|
|
4276
4285
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -4616,6 +4625,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4616
4625
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
4617
4626
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4618
4627
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4628
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4619
4629
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4620
4630
|
};
|
|
4621
4631
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -346,6 +346,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
346
346
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
347
347
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
348
348
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
349
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
349
350
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
350
351
|
};
|
|
351
352
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -691,6 +692,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
691
692
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
692
693
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
693
694
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
695
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
694
696
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
695
697
|
};
|
|
696
698
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -1691,6 +1693,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1691
1693
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
1692
1694
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1693
1695
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1696
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1694
1697
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1695
1698
|
};
|
|
1696
1699
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -2419,6 +2422,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2419
2422
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
2420
2423
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2421
2424
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2425
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2422
2426
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2423
2427
|
};
|
|
2424
2428
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -3298,6 +3302,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3298
3302
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
3299
3303
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3300
3304
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3305
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3301
3306
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3302
3307
|
};
|
|
3303
3308
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -3743,6 +3748,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3743
3748
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
3744
3749
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3745
3750
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3751
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3746
3752
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3747
3753
|
};
|
|
3748
3754
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -4482,6 +4488,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4482
4488
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
4483
4489
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4484
4490
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4491
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4485
4492
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4486
4493
|
};
|
|
4487
4494
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -4829,6 +4836,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4829
4836
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
4830
4837
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4831
4838
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4839
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4832
4840
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4833
4841
|
};
|
|
4834
4842
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -5414,6 +5422,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5414
5422
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
5415
5423
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5416
5424
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5425
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5417
5426
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5418
5427
|
};
|
|
5419
5428
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -5986,6 +5995,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5986
5995
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
5987
5996
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5988
5997
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5998
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5989
5999
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5990
6000
|
};
|
|
5991
6001
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -6331,6 +6341,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6331
6341
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
6332
6342
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6333
6343
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6344
|
+
hideDragHandle: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6334
6345
|
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6335
6346
|
};
|
|
6336
6347
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|