@atlaskit/editor-core 198.6.3 → 198.6.5
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 +23 -0
- package/dist/cjs/composable-editor/editor-internal.js +3 -27
- package/dist/cjs/composable-editor/hooks/useProviders.js +3 -5
- package/dist/cjs/composable-editor/utils/handleProviders.js +0 -3
- package/dist/cjs/create-editor/ReactEditorView.js +13 -44
- package/dist/cjs/ui/Appearance/Chromeless.js +1 -2
- package/dist/cjs/ui/Appearance/Comment/Comment.js +1 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +1 -1
- package/dist/cjs/ui/ContentStyles/index.js +2 -7
- package/dist/cjs/ui/EditorContext/index.js +40 -20
- package/dist/cjs/ui/WithEditorActions/index.js +70 -11
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +4 -28
- package/dist/es2019/composable-editor/hooks/useProviders.js +3 -5
- package/dist/es2019/composable-editor/utils/handleProviders.js +0 -3
- package/dist/es2019/create-editor/ReactEditorView.js +13 -44
- package/dist/es2019/ui/Appearance/Chromeless.js +1 -2
- package/dist/es2019/ui/Appearance/Comment/Comment.js +1 -2
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +1 -1
- package/dist/es2019/ui/ContentStyles/index.js +2 -8
- package/dist/es2019/ui/EditorContext/index.js +27 -13
- package/dist/es2019/ui/WithEditorActions/index.js +35 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +4 -28
- package/dist/esm/composable-editor/hooks/useProviders.js +3 -5
- package/dist/esm/composable-editor/utils/handleProviders.js +0 -3
- package/dist/esm/create-editor/ReactEditorView.js +13 -44
- package/dist/esm/ui/Appearance/Chromeless.js +1 -2
- package/dist/esm/ui/Appearance/Comment/Comment.js +1 -2
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +1 -1
- package/dist/esm/ui/ContentStyles/index.js +2 -7
- package/dist/esm/ui/EditorContext/index.js +39 -19
- package/dist/esm/ui/WithEditorActions/index.js +72 -13
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/ReactEditorView.d.ts +1 -2
- package/dist/types/create-editor/create-universal-preset.d.ts +50 -22
- package/dist/types/presets/default.d.ts +44 -16
- package/dist/types/presets/universal.d.ts +50 -22
- package/dist/types/presets/useUniversalPreset.d.ts +50 -22
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types/ui/ContentStyles/index.d.ts +2 -2
- package/dist/types/ui/EditorContext/index.d.ts +9 -3
- package/dist/types/ui/WithEditorActions/index.d.ts +3 -12
- package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +1 -2
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +54 -22
- package/dist/types-ts4.5/presets/default.d.ts +48 -16
- package/dist/types-ts4.5/presets/universal.d.ts +54 -22
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +54 -22
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/EditorContext/index.d.ts +9 -3
- package/dist/types-ts4.5/ui/WithEditorActions/index.d.ts +3 -12
- package/package.json +14 -13
|
@@ -1,31 +1,57 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
1
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
4
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
4
5
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
5
6
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
7
7
|
function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
|
|
8
8
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
|
+
import { EditorContext } from '@atlaskit/editor-common/UNSAFE_do_not_use_editor_context';
|
|
11
12
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
13
|
import EditorActions from '../../actions';
|
|
13
|
-
import { PresetContextProvider } from '../../presets/context';
|
|
14
|
-
var EditorContext = /*#__PURE__*/React.createContext({});
|
|
15
14
|
export var useEditorContext = function useEditorContext() {
|
|
16
15
|
return React.useContext(EditorContext);
|
|
17
16
|
};
|
|
18
|
-
var LegacyEditorContext = /*#__PURE__*/function (_React$Component) {
|
|
17
|
+
export var LegacyEditorContext = /*#__PURE__*/function (_React$Component) {
|
|
19
18
|
_inherits(LegacyEditorContext, _React$Component);
|
|
20
19
|
var _super = _createSuper(LegacyEditorContext);
|
|
21
20
|
function LegacyEditorContext(props) {
|
|
22
|
-
var _this;
|
|
23
21
|
_classCallCheck(this, LegacyEditorContext);
|
|
24
|
-
|
|
22
|
+
return _super.call(this, props);
|
|
23
|
+
}
|
|
24
|
+
_createClass(LegacyEditorContext, [{
|
|
25
|
+
key: "render",
|
|
26
|
+
value: function render() {
|
|
27
|
+
if (fg('platform_editor_react18_phase2')) {
|
|
28
|
+
return /*#__PURE__*/React.createElement(LegacyEditorContextNew, this.props, this.props.children);
|
|
29
|
+
}
|
|
30
|
+
return /*#__PURE__*/React.createElement(LegacyEditorContextOld, this.props, this.props.children);
|
|
31
|
+
}
|
|
32
|
+
}]);
|
|
33
|
+
return LegacyEditorContext;
|
|
34
|
+
}(React.Component);
|
|
35
|
+
function LegacyEditorContextNew(_ref) {
|
|
36
|
+
var children = _ref.children,
|
|
37
|
+
editorActions = _ref.editorActions;
|
|
38
|
+
return /*#__PURE__*/React.createElement(EditorContext.Provider, {
|
|
39
|
+
value: {
|
|
40
|
+
editorActions: editorActions !== null && editorActions !== void 0 ? editorActions : new EditorActions()
|
|
41
|
+
}
|
|
42
|
+
}, children);
|
|
43
|
+
}
|
|
44
|
+
var LegacyEditorContextOld = /*#__PURE__*/function (_React$Component2) {
|
|
45
|
+
_inherits(LegacyEditorContextOld, _React$Component2);
|
|
46
|
+
var _super2 = _createSuper(LegacyEditorContextOld);
|
|
47
|
+
function LegacyEditorContextOld(props) {
|
|
48
|
+
var _this;
|
|
49
|
+
_classCallCheck(this, LegacyEditorContextOld);
|
|
50
|
+
_this = _super2.call(this, props);
|
|
25
51
|
_this.editorActions = props.editorActions || new EditorActions();
|
|
26
52
|
return _this;
|
|
27
53
|
}
|
|
28
|
-
_createClass(
|
|
54
|
+
_createClass(LegacyEditorContextOld, [{
|
|
29
55
|
key: "getChildContext",
|
|
30
56
|
value: function getChildContext() {
|
|
31
57
|
return {
|
|
@@ -35,20 +61,14 @@ var LegacyEditorContext = /*#__PURE__*/function (_React$Component) {
|
|
|
35
61
|
}, {
|
|
36
62
|
key: "render",
|
|
37
63
|
value: function render() {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}, this.props.children);
|
|
42
|
-
} else {
|
|
43
|
-
return /*#__PURE__*/React.createElement(EditorContext.Provider, {
|
|
44
|
-
value: this.getChildContext()
|
|
45
|
-
}, /*#__PURE__*/React.createElement(PresetContextProvider, null, this.props.children));
|
|
46
|
-
}
|
|
64
|
+
return /*#__PURE__*/React.createElement(EditorContext.Provider, {
|
|
65
|
+
value: this.getChildContext()
|
|
66
|
+
}, this.props.children);
|
|
47
67
|
}
|
|
48
68
|
}]);
|
|
49
|
-
return
|
|
69
|
+
return LegacyEditorContextOld;
|
|
50
70
|
}(React.Component);
|
|
51
|
-
_defineProperty(
|
|
71
|
+
_defineProperty(LegacyEditorContextOld, "childContextTypes", {
|
|
52
72
|
editorActions: PropTypes.object
|
|
53
73
|
});
|
|
54
|
-
export {
|
|
74
|
+
export { LegacyEditorContextOld as default };
|
|
@@ -1,31 +1,91 @@
|
|
|
1
|
+
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
|
|
2
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
1
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
-
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
|
|
4
5
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
5
6
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
6
7
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
8
|
function _createSuper(t) { var r = _isNativeReflectConstruct(); return function () { var e, o = _getPrototypeOf(t); if (r) { var s = _getPrototypeOf(this).constructor; e = Reflect.construct(o, arguments, s); } else e = o.apply(this, arguments); return _possibleConstructorReturn(this, e); }; }
|
|
9
9
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PropTypes from 'prop-types';
|
|
12
|
+
import { EditorContext } from '@atlaskit/editor-common/UNSAFE_do_not_use_editor_context';
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
14
|
var WithEditorActions = /*#__PURE__*/function (_React$Component) {
|
|
13
15
|
_inherits(WithEditorActions, _React$Component);
|
|
14
16
|
var _super = _createSuper(WithEditorActions);
|
|
15
|
-
function WithEditorActions() {
|
|
16
|
-
var _this;
|
|
17
|
+
function WithEditorActions(props) {
|
|
17
18
|
_classCallCheck(this, WithEditorActions);
|
|
19
|
+
return _super.call(this, props);
|
|
20
|
+
}
|
|
21
|
+
_createClass(WithEditorActions, [{
|
|
22
|
+
key: "render",
|
|
23
|
+
value: function render() {
|
|
24
|
+
if (fg('platform_editor_react18_phase2')) {
|
|
25
|
+
return /*#__PURE__*/React.createElement(WithEditorActionsNew, this.props);
|
|
26
|
+
}
|
|
27
|
+
return /*#__PURE__*/React.createElement(WithEditorActionsOld, this.props);
|
|
28
|
+
}
|
|
29
|
+
}]);
|
|
30
|
+
return WithEditorActions;
|
|
31
|
+
}(React.Component);
|
|
32
|
+
export { WithEditorActions as default };
|
|
33
|
+
function WithEditorActionsNew(props) {
|
|
34
|
+
var render = props.render;
|
|
35
|
+
var context = React.useContext(EditorContext);
|
|
36
|
+
return /*#__PURE__*/React.createElement(WithEditorActionsInner, {
|
|
37
|
+
render: render,
|
|
38
|
+
editorActions: context === null || context === void 0 ? void 0 : context.editorActions
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
var WithEditorActionsInner = /*#__PURE__*/function (_React$Component2) {
|
|
42
|
+
_inherits(WithEditorActionsInner, _React$Component2);
|
|
43
|
+
var _super2 = _createSuper(WithEditorActionsInner);
|
|
44
|
+
function WithEditorActionsInner() {
|
|
45
|
+
_classCallCheck(this, WithEditorActionsInner);
|
|
46
|
+
return _super2.apply(this, arguments);
|
|
47
|
+
}
|
|
48
|
+
_createClass(WithEditorActionsInner, [{
|
|
49
|
+
key: "componentDidMount",
|
|
50
|
+
value: function componentDidMount() {
|
|
51
|
+
var _this = this;
|
|
52
|
+
this.props.editorActions._privateSubscribe(function () {
|
|
53
|
+
return _this.forceUpdate();
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}, {
|
|
57
|
+
key: "componentWillUnmount",
|
|
58
|
+
value: function componentWillUnmount() {
|
|
59
|
+
var _this2 = this;
|
|
60
|
+
this.props.editorActions._privateUnsubscribe(function () {
|
|
61
|
+
return _this2.forceUpdate();
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
}, {
|
|
65
|
+
key: "render",
|
|
66
|
+
value: function render() {
|
|
67
|
+
return this.props.render(this.props.editorActions);
|
|
68
|
+
}
|
|
69
|
+
}]);
|
|
70
|
+
return WithEditorActionsInner;
|
|
71
|
+
}(React.Component);
|
|
72
|
+
var WithEditorActionsOld = /*#__PURE__*/function (_React$Component3) {
|
|
73
|
+
_inherits(WithEditorActionsOld, _React$Component3);
|
|
74
|
+
var _super3 = _createSuper(WithEditorActionsOld);
|
|
75
|
+
function WithEditorActionsOld() {
|
|
76
|
+
var _this3;
|
|
77
|
+
_classCallCheck(this, WithEditorActionsOld);
|
|
18
78
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
19
79
|
args[_key] = arguments[_key];
|
|
20
80
|
}
|
|
21
|
-
|
|
22
|
-
_defineProperty(_assertThisInitialized(
|
|
81
|
+
_this3 = _super3.call.apply(_super3, [this].concat(args));
|
|
82
|
+
_defineProperty(_assertThisInitialized(_this3), "onContextUpdate", function () {
|
|
23
83
|
// Re-render actions when editorActions changes...
|
|
24
|
-
|
|
84
|
+
_this3.forceUpdate();
|
|
25
85
|
});
|
|
26
|
-
return
|
|
86
|
+
return _this3;
|
|
27
87
|
}
|
|
28
|
-
_createClass(
|
|
88
|
+
_createClass(WithEditorActionsOld, [{
|
|
29
89
|
key: "componentDidMount",
|
|
30
90
|
value: function componentDidMount() {
|
|
31
91
|
this.context.editorActions._privateSubscribe(this.onContextUpdate);
|
|
@@ -41,9 +101,8 @@ var WithEditorActions = /*#__PURE__*/function (_React$Component) {
|
|
|
41
101
|
return this.props.render(this.context.editorActions);
|
|
42
102
|
}
|
|
43
103
|
}]);
|
|
44
|
-
return
|
|
104
|
+
return WithEditorActionsOld;
|
|
45
105
|
}(React.Component);
|
|
46
|
-
_defineProperty(
|
|
106
|
+
_defineProperty(WithEditorActionsOld, "contextTypes", {
|
|
47
107
|
editorActions: PropTypes.object.isRequired
|
|
48
|
-
});
|
|
49
|
-
export { WithEditorActions as default };
|
|
108
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "198.6.
|
|
2
|
+
export var version = "198.6.5";
|
|
@@ -16,7 +16,6 @@ import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
|
16
16
|
import type { DirectEditorProps } from '@atlaskit/editor-prosemirror/view';
|
|
17
17
|
import { EventDispatcher } from '../event-dispatcher';
|
|
18
18
|
import type { Dispatch } from '../event-dispatcher';
|
|
19
|
-
import type { SetEditorAPI } from '../presets/context';
|
|
20
19
|
import type { EditorAppearance, EditorConfig, EditorPlugin, EditorProps } from '../types';
|
|
21
20
|
import type { EditorNextProps } from '../types/editor-props';
|
|
22
21
|
import { TransactionTracker } from '../utils/performance/track-transactions';
|
|
@@ -30,7 +29,7 @@ export interface EditorViewProps {
|
|
|
30
29
|
disabled?: boolean;
|
|
31
30
|
experienceStore?: ExperienceStore;
|
|
32
31
|
editorAPI: PublicPluginAPI<any> | undefined;
|
|
33
|
-
|
|
32
|
+
setEditorAPI?: (editorApi: PublicPluginAPI<any>) => void;
|
|
34
33
|
render?: (props: {
|
|
35
34
|
editor: JSX.Element;
|
|
36
35
|
view?: EditorView;
|
|
@@ -379,7 +379,14 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
379
379
|
} | undefined;
|
|
380
380
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
381
381
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
382
|
-
}, undefined
|
|
382
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
383
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
384
|
+
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
385
|
+
commands: {
|
|
386
|
+
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
387
|
+
};
|
|
388
|
+
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
389
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
|
|
383
390
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
384
391
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
385
392
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -728,13 +735,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
728
735
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
729
736
|
sharedState: import("@atlaskit/editor-plugin-focus").FocusState;
|
|
730
737
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
731
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
738
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
732
739
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
733
740
|
commands: {
|
|
734
741
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
735
742
|
};
|
|
736
743
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
737
|
-
}, import("@atlaskit/editor-
|
|
744
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
738
745
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
739
746
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
740
747
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1733,7 +1740,14 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1733
1740
|
} | undefined;
|
|
1734
1741
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1735
1742
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1736
|
-
}, undefined
|
|
1743
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1744
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
1745
|
+
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
1746
|
+
commands: {
|
|
1747
|
+
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1748
|
+
};
|
|
1749
|
+
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1750
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
|
|
1737
1751
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
1738
1752
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
1739
1753
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
|
|
@@ -2465,13 +2479,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2465
2479
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
2466
2480
|
sharedState: import("@atlaskit/editor-plugin-focus").FocusState;
|
|
2467
2481
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2468
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2482
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
2469
2483
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
2470
2484
|
commands: {
|
|
2471
2485
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2472
2486
|
};
|
|
2473
2487
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2474
|
-
}, import("@atlaskit/editor-
|
|
2488
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2475
2489
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2476
2490
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2477
2491
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2808,13 +2822,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2808
2822
|
displayGuideline: import("@atlaskit/editor-common/guideline").DisplayGuideline;
|
|
2809
2823
|
};
|
|
2810
2824
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2811
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2825
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
2812
2826
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
2813
2827
|
commands: {
|
|
2814
2828
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2815
2829
|
};
|
|
2816
2830
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2817
|
-
}, import("@atlaskit/editor-
|
|
2831
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"batchAttributeUpdates", {
|
|
2818
2832
|
actions: {
|
|
2819
2833
|
batchSteps: import("@atlaskit/editor-plugin-batch-attribute-updates").BatchStepsAction;
|
|
2820
2834
|
};
|
|
@@ -3352,13 +3366,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3352
3366
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
3353
3367
|
sharedState: import("@atlaskit/editor-plugin-focus").FocusState;
|
|
3354
3368
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
3355
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3369
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
3356
3370
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
3357
3371
|
commands: {
|
|
3358
3372
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3359
3373
|
};
|
|
3360
3374
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3361
|
-
}, import("@atlaskit/editor-
|
|
3375
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3362
3376
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3363
3377
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
3364
3378
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3802,13 +3816,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3802
3816
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
3803
3817
|
sharedState: import("@atlaskit/editor-plugin-focus").FocusState;
|
|
3804
3818
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
3805
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3819
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
3806
3820
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
3807
3821
|
commands: {
|
|
3808
3822
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3809
3823
|
};
|
|
3810
3824
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3811
|
-
}, import("@atlaskit/editor-
|
|
3825
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3812
3826
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3813
3827
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
3814
3828
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -4023,13 +4037,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4023
4037
|
removeDecoration: import("@atlaskit/editor-common/types").Command;
|
|
4024
4038
|
};
|
|
4025
4039
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
4026
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4040
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
4027
4041
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
4028
4042
|
commands: {
|
|
4029
4043
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4030
4044
|
};
|
|
4031
4045
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4032
|
-
}, import("@atlaskit/editor-
|
|
4046
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
4033
4047
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
4034
4048
|
sharedState: {
|
|
4035
4049
|
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
@@ -4266,13 +4280,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4266
4280
|
insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
4267
4281
|
};
|
|
4268
4282
|
}, import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
4269
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4283
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
4270
4284
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
4271
4285
|
commands: {
|
|
4272
4286
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4273
4287
|
};
|
|
4274
4288
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4275
|
-
}, import("@atlaskit/editor-
|
|
4289
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
4276
4290
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
4277
4291
|
sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
|
|
4278
4292
|
actions: {
|
|
@@ -4894,13 +4908,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4894
4908
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
4895
4909
|
sharedState: import("@atlaskit/editor-plugin-focus").FocusState;
|
|
4896
4910
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
4897
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4911
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
4898
4912
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
4899
4913
|
commands: {
|
|
4900
4914
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4901
4915
|
};
|
|
4902
4916
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4903
|
-
}, import("@atlaskit/editor-
|
|
4917
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4904
4918
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
4905
4919
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
4906
4920
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -5481,7 +5495,14 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5481
5495
|
} | undefined;
|
|
5482
5496
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
5483
5497
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
5484
|
-
}, undefined
|
|
5498
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
5499
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
5500
|
+
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
5501
|
+
commands: {
|
|
5502
|
+
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5503
|
+
};
|
|
5504
|
+
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
5505
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
|
|
5485
5506
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
5486
5507
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
5487
5508
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
@@ -6054,7 +6075,14 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
6054
6075
|
} | undefined;
|
|
6055
6076
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
6056
6077
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
6057
|
-
}, undefined
|
|
6078
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
6079
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
6080
|
+
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
6081
|
+
commands: {
|
|
6082
|
+
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6083
|
+
};
|
|
6084
|
+
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
6085
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
|
|
6058
6086
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
6059
6087
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
6060
6088
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -6403,13 +6431,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
6403
6431
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
6404
6432
|
sharedState: import("@atlaskit/editor-plugin-focus").FocusState;
|
|
6405
6433
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
6406
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
6434
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
6407
6435
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
6408
6436
|
commands: {
|
|
6409
6437
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6410
6438
|
};
|
|
6411
6439
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
6412
|
-
}, import("@atlaskit/editor-
|
|
6440
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
6413
6441
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
6414
6442
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
6415
6443
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -78,13 +78,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
78
78
|
insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
79
79
|
};
|
|
80
80
|
}, CodeBlockOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
81
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
81
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
82
82
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
83
83
|
commands: {
|
|
84
84
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
85
85
|
};
|
|
86
86
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
87
|
-
}, import("@atlaskit/editor-
|
|
87
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
88
88
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
89
89
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
90
90
|
actions: {
|
|
@@ -706,13 +706,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
706
706
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
707
707
|
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
708
708
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
709
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
709
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
710
710
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
711
711
|
commands: {
|
|
712
712
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
713
713
|
};
|
|
714
714
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
715
|
-
}, import("@atlaskit/editor-
|
|
715
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
716
716
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
717
717
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
718
718
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1293,7 +1293,14 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1293
1293
|
} | undefined;
|
|
1294
1294
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1295
1295
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1296
|
-
}, undefined
|
|
1296
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1297
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
1298
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
1299
|
+
commands: {
|
|
1300
|
+
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1301
|
+
};
|
|
1302
|
+
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1303
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
|
|
1297
1304
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
1298
1305
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
1299
1306
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
@@ -1866,7 +1873,14 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1866
1873
|
} | undefined;
|
|
1867
1874
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1868
1875
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1869
|
-
}, undefined
|
|
1876
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1877
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
1878
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
1879
|
+
commands: {
|
|
1880
|
+
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1881
|
+
};
|
|
1882
|
+
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1883
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
|
|
1870
1884
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
1871
1885
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
1872
1886
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2215,13 +2229,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2215
2229
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
2216
2230
|
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
2217
2231
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2218
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2232
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
2219
2233
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
2220
2234
|
commands: {
|
|
2221
2235
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2222
2236
|
};
|
|
2223
2237
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2224
|
-
}, import("@atlaskit/editor-
|
|
2238
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2225
2239
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2226
2240
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2227
2241
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2587,13 +2601,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2587
2601
|
insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
2588
2602
|
};
|
|
2589
2603
|
}, CodeBlockOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2590
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2604
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
2591
2605
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
2592
2606
|
commands: {
|
|
2593
2607
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2594
2608
|
};
|
|
2595
2609
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2596
|
-
}, import("@atlaskit/editor-
|
|
2610
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
2597
2611
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2598
2612
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2599
2613
|
actions: {
|
|
@@ -3215,13 +3229,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3215
3229
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
3216
3230
|
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
3217
3231
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
3218
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3232
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
3219
3233
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
3220
3234
|
commands: {
|
|
3221
3235
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3222
3236
|
};
|
|
3223
3237
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3224
|
-
}, import("@atlaskit/editor-
|
|
3238
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3225
3239
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3226
3240
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
3227
3241
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3802,7 +3816,14 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3802
3816
|
} | undefined;
|
|
3803
3817
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
3804
3818
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
3805
|
-
}, undefined
|
|
3819
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
3820
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
3821
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
3822
|
+
commands: {
|
|
3823
|
+
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3824
|
+
};
|
|
3825
|
+
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3826
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
|
|
3806
3827
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
3807
3828
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
3808
3829
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
@@ -4375,7 +4396,14 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4375
4396
|
} | undefined;
|
|
4376
4397
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
4377
4398
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
4378
|
-
}, undefined
|
|
4399
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
4400
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
4401
|
+
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
4402
|
+
commands: {
|
|
4403
|
+
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4404
|
+
};
|
|
4405
|
+
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4406
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
|
|
4379
4407
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
4380
4408
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
4381
4409
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -4724,13 +4752,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4724
4752
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
4725
4753
|
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
4726
4754
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
4727
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4755
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
|
|
4728
4756
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
4729
4757
|
commands: {
|
|
4730
4758
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4731
4759
|
};
|
|
4732
4760
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4733
|
-
}, import("@atlaskit/editor-
|
|
4761
|
+
}, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4734
4762
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
4735
4763
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
4736
4764
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|