@atlaskit/editor-core 193.3.4 → 193.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/presets/universal.js +2 -1
- package/dist/cjs/ui/ContentStyles/extension.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +2 -1
- package/dist/es2019/ui/ContentStyles/extension.js +14 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +2 -1
- package/dist/esm/ui/ContentStyles/extension.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +19 -11
- package/dist/types/presets/default.d.ts +8 -8
- package/dist/types/presets/universal.d.ts +19 -11
- package/dist/types/presets/useUniversalPreset.d.ts +19 -11
- package/dist/types/ui/Addon/Dropdown/index.d.ts +1 -0
- package/dist/types/ui/ErrorBoundary/index.d.ts +1 -0
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +21 -10
- package/dist/types-ts4.5/presets/default.d.ts +8 -8
- package/dist/types-ts4.5/presets/universal.d.ts +21 -10
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +21 -10
- package/dist/types-ts4.5/ui/Addon/Dropdown/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +1 -0
- package/package.json +17 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 193.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#78949](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78949) [`43b4f8b382eb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/43b4f8b382eb) - [ED-22283] introduced ariaNotify like api for plugins to make screen reader announcements
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 193.3.11
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#81768](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81768) [`9d96e603865d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9d96e603865d) - [ux] Fixes issue where inline macros don't turn red on trash hover and updates VR tests to check
|
|
18
|
+
|
|
3
19
|
## 193.3.4
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -9,6 +9,7 @@ exports.isExpandInsertionEnabled = isExpandInsertionEnabled;
|
|
|
9
9
|
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
12
|
+
var _accessibilityUtils = require("@atlaskit/editor-plugins/accessibility-utils");
|
|
12
13
|
var _alignment = require("@atlaskit/editor-plugins/alignment");
|
|
13
14
|
var _annotation = require("@atlaskit/editor-plugins/annotation");
|
|
14
15
|
var _avatarGroup = require("@atlaskit/editor-plugins/avatar-group");
|
|
@@ -94,7 +95,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
|
|
|
94
95
|
}
|
|
95
96
|
return false;
|
|
96
97
|
};
|
|
97
|
-
var finalPreset = defaultPreset.add(_dataConsumer.dataConsumerPlugin).add(_contentInsertion.contentInsertionPlugin).maybeAdd([_breakout.breakoutPlugin, {
|
|
98
|
+
var finalPreset = defaultPreset.add(_dataConsumer.dataConsumerPlugin).add(_accessibilityUtils.accessibilityUtilsPlugin).add(_contentInsertion.contentInsertionPlugin).maybeAdd([_breakout.breakoutPlugin, {
|
|
98
99
|
allowBreakoutButton: appearance === 'full-page'
|
|
99
100
|
}], Boolean(props.allowBreakout && isFullPage)).maybeAdd(_alignment.alignmentPlugin, Boolean(props.allowTextAlignment)).maybeAdd([_textColor.textColorPlugin, props.allowTextColor], Boolean(props.allowTextColor)).add(_list.listPlugin).maybeAdd(_rule.rulePlugin, Boolean(props.allowRule)).maybeAdd([_expand.expandPlugin, {
|
|
100
101
|
allowInsertion: isExpandInsertionEnabled(props),
|
|
@@ -10,4 +10,4 @@ var _react = require("@emotion/react");
|
|
|
10
10
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
11
11
|
var _templateObject;
|
|
12
12
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/design-system/no-exported-css -- Needs manual remediation
|
|
13
|
-
var extensionStyles = exports.extensionStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n .multiBodiedExtensionView-content-wrap {\n &.danger > span > .multiBodiedExtension--container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n &:not(.danger).", " {\n & > span > .multiBodiedExtension--container {\n ", "\n }\n }\n .multiBodiedExtension--container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n }\n\n .extensionView-content-wrap,\n .multiBodiedExtensionView-content-wrap,\n .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n\n &:first-of-type {\n margin-top: 0;\n }\n\n &:last-of-type {\n margin-bottom: 0;\n }\n\n &:not(.danger).", " {\n & > span > .extension-container {\n ", "\n }\n }\n\n &.danger > span > .extension-container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n\n &.inline {\n word-wrap: break-all;\n }\n }\n\n .extensionView-content-wrap .extension-container {\n overflow: hidden;\n }\n\n .bodiedExtensionView-content-wrap\n .extensionView-content-wrap\n .extension-container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n\n [data-mark-type='fragment'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n }\n\n &:first-child {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n }\n }\n\n &:nth-last-of-type(-n + 2):not(:first-of-type) {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n }\n }\n }\n"])), _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow, _editorSharedStyles.SelectionStyle.Blanket]), _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.blockNodesVerticalMargin);
|
|
13
|
+
var extensionStyles = exports.extensionStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n .multiBodiedExtensionView-content-wrap {\n &.danger > span > .multiBodiedExtension--container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n &:not(.danger).", " {\n & > span > .multiBodiedExtension--container {\n ", "\n }\n }\n .multiBodiedExtension--container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n }\n\n .inlineExtensionView-content-wrap {\n &.danger > span > .extension-container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n\n &:not(.danger).", " {\n & > span > .extension-container {\n ", "\n }\n }\n }\n\n .extensionView-content-wrap,\n .multiBodiedExtensionView-content-wrap,\n .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n\n &:first-of-type {\n margin-top: 0;\n }\n\n &:last-of-type {\n margin-bottom: 0;\n }\n\n &:not(.danger).", " {\n & > span > .extension-container {\n ", "\n }\n }\n\n &.danger > span > .extension-container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n\n &.inline {\n word-wrap: break-all;\n }\n }\n\n .extensionView-content-wrap .extension-container {\n overflow: hidden;\n }\n\n .bodiedExtensionView-content-wrap\n .extensionView-content-wrap\n .extension-container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n\n [data-mark-type='fragment'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n }\n\n &:first-child {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n }\n }\n\n &:nth-last-of-type(-n + 2):not(:first-of-type) {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n }\n }\n }\n"])), _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow, _editorSharedStyles.SelectionStyle.Blanket]), _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.blockNodesVerticalMargin);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { shouldForceTracking } from '@atlaskit/editor-common/utils';
|
|
2
|
+
import { accessibilityUtilsPlugin } from '@atlaskit/editor-plugins/accessibility-utils';
|
|
2
3
|
import { alignmentPlugin } from '@atlaskit/editor-plugins/alignment';
|
|
3
4
|
import { annotationPlugin } from '@atlaskit/editor-plugins/annotation';
|
|
4
5
|
import { avatarGroupPlugin } from '@atlaskit/editor-plugins/avatar-group';
|
|
@@ -82,7 +83,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
82
83
|
}
|
|
83
84
|
return false;
|
|
84
85
|
};
|
|
85
|
-
const finalPreset = defaultPreset.add(dataConsumerPlugin).add(contentInsertionPlugin).maybeAdd([breakoutPlugin, {
|
|
86
|
+
const finalPreset = defaultPreset.add(dataConsumerPlugin).add(accessibilityUtilsPlugin).add(contentInsertionPlugin).maybeAdd([breakoutPlugin, {
|
|
86
87
|
allowBreakoutButton: appearance === 'full-page'
|
|
87
88
|
}], Boolean(props.allowBreakout && isFullPage)).maybeAdd(alignmentPlugin, Boolean(props.allowTextAlignment)).maybeAdd([textColorPlugin, props.allowTextColor], Boolean(props.allowTextColor)).add(listPlugin).maybeAdd(rulePlugin, Boolean(props.allowRule)).maybeAdd([expandPlugin, {
|
|
88
89
|
allowInsertion: isExpandInsertionEnabled(props),
|
|
@@ -19,6 +19,20 @@ export const extensionStyles = css`
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
.inlineExtensionView-content-wrap {
|
|
23
|
+
&.danger > span > .extension-container {
|
|
24
|
+
box-shadow: 0 0 0 ${akEditorSelectedBorderSize}px
|
|
25
|
+
${`var(--ds-border-danger, ${akEditorDeleteBorder})`};
|
|
26
|
+
background-color: ${`var(--ds-background-danger, ${akEditorDeleteBackground})`};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:not(.danger).${akEditorSelectedNodeClassName} {
|
|
30
|
+
& > span > .extension-container {
|
|
31
|
+
${getSelectionStyles([SelectionStyle.BoxShadow])}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
22
36
|
.extensionView-content-wrap,
|
|
23
37
|
.multiBodiedExtensionView-content-wrap,
|
|
24
38
|
.bodiedExtensionView-content-wrap {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "193.
|
|
2
|
+
export const version = "193.4.0";
|
|
@@ -3,6 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
import { shouldForceTracking } from '@atlaskit/editor-common/utils';
|
|
6
|
+
import { accessibilityUtilsPlugin } from '@atlaskit/editor-plugins/accessibility-utils';
|
|
6
7
|
import { alignmentPlugin } from '@atlaskit/editor-plugins/alignment';
|
|
7
8
|
import { annotationPlugin } from '@atlaskit/editor-plugins/annotation';
|
|
8
9
|
import { avatarGroupPlugin } from '@atlaskit/editor-plugins/avatar-group';
|
|
@@ -86,7 +87,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
86
87
|
}
|
|
87
88
|
return false;
|
|
88
89
|
};
|
|
89
|
-
var finalPreset = defaultPreset.add(dataConsumerPlugin).add(contentInsertionPlugin).maybeAdd([breakoutPlugin, {
|
|
90
|
+
var finalPreset = defaultPreset.add(dataConsumerPlugin).add(accessibilityUtilsPlugin).add(contentInsertionPlugin).maybeAdd([breakoutPlugin, {
|
|
90
91
|
allowBreakoutButton: appearance === 'full-page'
|
|
91
92
|
}], Boolean(props.allowBreakout && isFullPage)).maybeAdd(alignmentPlugin, Boolean(props.allowTextAlignment)).maybeAdd([textColorPlugin, props.allowTextColor], Boolean(props.allowTextColor)).add(listPlugin).maybeAdd(rulePlugin, Boolean(props.allowRule)).maybeAdd([expandPlugin, {
|
|
92
93
|
allowInsertion: isExpandInsertionEnabled(props),
|
|
@@ -3,4 +3,4 @@ var _templateObject;
|
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { akEditorDeleteBackground, akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
|
|
5
5
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/design-system/no-exported-css -- Needs manual remediation
|
|
6
|
-
export var extensionStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .multiBodiedExtensionView-content-wrap {\n &.danger > span > .multiBodiedExtension--container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n &:not(.danger).", " {\n & > span > .multiBodiedExtension--container {\n ", "\n }\n }\n .multiBodiedExtension--container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n }\n\n .extensionView-content-wrap,\n .multiBodiedExtensionView-content-wrap,\n .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n\n &:first-of-type {\n margin-top: 0;\n }\n\n &:last-of-type {\n margin-bottom: 0;\n }\n\n &:not(.danger).", " {\n & > span > .extension-container {\n ", "\n }\n }\n\n &.danger > span > .extension-container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n\n &.inline {\n word-wrap: break-all;\n }\n }\n\n .extensionView-content-wrap .extension-container {\n overflow: hidden;\n }\n\n .bodiedExtensionView-content-wrap\n .extensionView-content-wrap\n .extension-container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n\n [data-mark-type='fragment'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n }\n\n &:first-child {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n }\n }\n\n &:nth-last-of-type(-n + 2):not(:first-of-type) {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n }\n }\n }\n"])), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Blanket]), blockNodesVerticalMargin, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow]), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), blockNodesVerticalMargin, blockNodesVerticalMargin);
|
|
6
|
+
export var extensionStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .multiBodiedExtensionView-content-wrap {\n &.danger > span > .multiBodiedExtension--container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n &:not(.danger).", " {\n & > span > .multiBodiedExtension--container {\n ", "\n }\n }\n .multiBodiedExtension--container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n }\n\n .inlineExtensionView-content-wrap {\n &.danger > span > .extension-container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n\n &:not(.danger).", " {\n & > span > .extension-container {\n ", "\n }\n }\n }\n\n .extensionView-content-wrap,\n .multiBodiedExtensionView-content-wrap,\n .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n\n &:first-of-type {\n margin-top: 0;\n }\n\n &:last-of-type {\n margin-bottom: 0;\n }\n\n &:not(.danger).", " {\n & > span > .extension-container {\n ", "\n }\n }\n\n &.danger > span > .extension-container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n\n &.inline {\n word-wrap: break-all;\n }\n }\n\n .extensionView-content-wrap .extension-container {\n overflow: hidden;\n }\n\n .bodiedExtensionView-content-wrap\n .extensionView-content-wrap\n .extension-container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n\n [data-mark-type='fragment'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n }\n\n &:first-child {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n }\n }\n\n &:nth-last-of-type(-n + 2):not(:first-of-type) {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n }\n }\n }\n"])), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Blanket]), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow]), blockNodesVerticalMargin, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow]), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), blockNodesVerticalMargin, blockNodesVerticalMargin);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "193.
|
|
2
|
+
export var version = "193.4.0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { EditorProps } from '../types';
|
|
3
|
-
export declare function createPreset(props: EditorProps, prevProps?: EditorProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<[import("@atlaskit/editor-common/types").MaybePluginName<"loom">, "codeBidiWarning", import("@atlaskit/editor-common/types").MaybePluginName<"pasteOptionsToolbarPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"border">, import("@atlaskit/editor-common/types").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/types").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/types").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/types").MaybePluginName<"indentation">, import("@atlaskit/editor-common/types").MaybePluginName<"status">, import("@atlaskit/editor-common/types").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/types").MaybePluginName<"card">, import("@atlaskit/editor-common/types").MaybePluginName<"layout">, import("@atlaskit/editor-common/types").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/types").MaybePluginName<"date">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"extension">, import("@atlaskit/editor-common/types").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/types").MaybePluginName<"panel">, import("@atlaskit/editor-common/types").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/types").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/types").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/types").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/types").MaybePluginName<"table">, import("@atlaskit/editor-common/types").MaybePluginName<"emoji">, import("@atlaskit/editor-common/types").MaybePluginName<"mention">, import("@atlaskit/editor-common/types").MaybePluginName<"caption">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"grid">, import("@atlaskit/editor-common/types").MaybePluginName<"guideline">, import("@atlaskit/editor-common/types").MaybePluginName<"expand">, import("@atlaskit/editor-common/types").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/types").MaybePluginName<"textColor">, import("@atlaskit/editor-common/types").MaybePluginName<"alignment">, import("@atlaskit/editor-common/types").MaybePluginName<"breakout">, "contentInsertion", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", import("@atlaskit/editor-common/types").MaybePluginName<"selectionToolbar">, "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/types").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/types").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"loom", {
|
|
3
|
+
export declare function createPreset(props: EditorProps, prevProps?: EditorProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<[import("@atlaskit/editor-common/types").MaybePluginName<"loom">, "codeBidiWarning", import("@atlaskit/editor-common/types").MaybePluginName<"pasteOptionsToolbarPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"border">, import("@atlaskit/editor-common/types").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/types").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/types").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/types").MaybePluginName<"indentation">, import("@atlaskit/editor-common/types").MaybePluginName<"status">, import("@atlaskit/editor-common/types").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/types").MaybePluginName<"card">, import("@atlaskit/editor-common/types").MaybePluginName<"layout">, import("@atlaskit/editor-common/types").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/types").MaybePluginName<"date">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"extension">, import("@atlaskit/editor-common/types").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/types").MaybePluginName<"panel">, import("@atlaskit/editor-common/types").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/types").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/types").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/types").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/types").MaybePluginName<"table">, import("@atlaskit/editor-common/types").MaybePluginName<"emoji">, import("@atlaskit/editor-common/types").MaybePluginName<"mention">, import("@atlaskit/editor-common/types").MaybePluginName<"caption">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"grid">, import("@atlaskit/editor-common/types").MaybePluginName<"guideline">, import("@atlaskit/editor-common/types").MaybePluginName<"expand">, import("@atlaskit/editor-common/types").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/types").MaybePluginName<"textColor">, import("@atlaskit/editor-common/types").MaybePluginName<"alignment">, import("@atlaskit/editor-common/types").MaybePluginName<"breakout">, "contentInsertion", "accessibilityUtils", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", import("@atlaskit/editor-common/types").MaybePluginName<"selectionToolbar">, "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/types").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/types").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"loom", {
|
|
4
4
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5
5
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
6
6
|
sharedState: {
|
|
@@ -490,7 +490,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
490
490
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
491
491
|
};
|
|
492
492
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
493
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
493
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
494
494
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
495
495
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
496
496
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -557,7 +557,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
557
557
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
558
558
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
559
559
|
};
|
|
560
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
560
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
561
561
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
562
562
|
actions: {
|
|
563
563
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -1630,7 +1630,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1630
1630
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1631
1631
|
};
|
|
1632
1632
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1633
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1633
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1634
1634
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
1635
1635
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
1636
1636
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1697,7 +1697,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1697
1697
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1698
1698
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1699
1699
|
};
|
|
1700
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
1700
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
1701
1701
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1702
1702
|
actions: {
|
|
1703
1703
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2262,7 +2262,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2262
2262
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2263
2263
|
};
|
|
2264
2264
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2265
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2265
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2266
2266
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2267
2267
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2268
2268
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2329,7 +2329,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2329
2329
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2330
2330
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2331
2331
|
};
|
|
2332
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2332
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
2333
2333
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2334
2334
|
actions: {
|
|
2335
2335
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2541,6 +2541,14 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2541
2541
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2542
2542
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2543
2543
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
|
|
2544
|
+
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
2545
|
+
dependencies: [];
|
|
2546
|
+
actions: {
|
|
2547
|
+
ariaNotify: (message: string) => void;
|
|
2548
|
+
};
|
|
2549
|
+
sharedState: {
|
|
2550
|
+
message: string;
|
|
2551
|
+
};
|
|
2544
2552
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"dataConsumer", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
|
|
2545
2553
|
pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined;
|
|
2546
2554
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -2911,7 +2919,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2911
2919
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2912
2920
|
};
|
|
2913
2921
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2914
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2922
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2915
2923
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2916
2924
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2917
2925
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2978,7 +2986,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2978
2986
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2979
2987
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2980
2988
|
};
|
|
2981
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2989
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
2982
2990
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2983
2991
|
actions: {
|
|
2984
2992
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -3771,7 +3779,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3771
3779
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3772
3780
|
};
|
|
3773
3781
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3774
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3782
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3775
3783
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3776
3784
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
3777
3785
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3838,7 +3846,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3838
3846
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3839
3847
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3840
3848
|
};
|
|
3841
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
3849
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
3842
3850
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3843
3851
|
actions: {
|
|
3844
3852
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -414,7 +414,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
414
414
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
415
415
|
};
|
|
416
416
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
417
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
417
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
418
418
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
419
419
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
420
420
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -481,7 +481,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
481
481
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
482
482
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
483
483
|
};
|
|
484
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
484
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
485
485
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
486
486
|
actions: {
|
|
487
487
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -1274,7 +1274,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1274
1274
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1275
1275
|
};
|
|
1276
1276
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1277
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1277
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1278
1278
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
1279
1279
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
1280
1280
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1341,7 +1341,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1341
1341
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1342
1342
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1343
1343
|
};
|
|
1344
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
1344
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
1345
1345
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1346
1346
|
actions: {
|
|
1347
1347
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -1851,7 +1851,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
1851
1851
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1852
1852
|
};
|
|
1853
1853
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1854
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1854
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1855
1855
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
1856
1856
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
1857
1857
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1918,7 +1918,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
1918
1918
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1919
1919
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1920
1920
|
};
|
|
1921
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
1921
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
1922
1922
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1923
1923
|
actions: {
|
|
1924
1924
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2711,7 +2711,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2711
2711
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2712
2712
|
};
|
|
2713
2713
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2714
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2714
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2715
2715
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2716
2716
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2717
2717
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2778,7 +2778,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2778
2778
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2779
2779
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2780
2780
|
};
|
|
2781
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2781
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
2782
2782
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2783
2783
|
actions: {
|
|
2784
2784
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -17,7 +17,7 @@ type UniversalPresetProps = DefaultPresetPluginOptions & EditorSharedPropsWithPl
|
|
|
17
17
|
* @param prevAppearance The appearance of the editor in the previous render
|
|
18
18
|
* @returns a full featured preset configured according to the provided props - basis for create-plugins-list
|
|
19
19
|
*/
|
|
20
|
-
export default function createUniversalPreset(appearance: EditorAppearance | undefined, props: UniversalPresetProps, featureFlags: FeatureFlags, prevAppearance?: EditorAppearance, createAnalyticsEvent?: CreateUIAnalyticsEvent): import("@atlaskit/editor-common/preset").EditorPresetBuilder<[import("@atlaskit/editor-common/types").MaybePluginName<"loom">, "codeBidiWarning", import("@atlaskit/editor-common/types").MaybePluginName<"pasteOptionsToolbarPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"border">, import("@atlaskit/editor-common/types").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/types").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/types").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/types").MaybePluginName<"indentation">, import("@atlaskit/editor-common/types").MaybePluginName<"status">, import("@atlaskit/editor-common/types").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/types").MaybePluginName<"card">, import("@atlaskit/editor-common/types").MaybePluginName<"layout">, import("@atlaskit/editor-common/types").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/types").MaybePluginName<"date">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"extension">, import("@atlaskit/editor-common/types").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/types").MaybePluginName<"panel">, import("@atlaskit/editor-common/types").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/types").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/types").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/types").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/types").MaybePluginName<"table">, import("@atlaskit/editor-common/types").MaybePluginName<"emoji">, import("@atlaskit/editor-common/types").MaybePluginName<"mention">, import("@atlaskit/editor-common/types").MaybePluginName<"caption">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"grid">, import("@atlaskit/editor-common/types").MaybePluginName<"guideline">, import("@atlaskit/editor-common/types").MaybePluginName<"expand">, import("@atlaskit/editor-common/types").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/types").MaybePluginName<"textColor">, import("@atlaskit/editor-common/types").MaybePluginName<"alignment">, import("@atlaskit/editor-common/types").MaybePluginName<"breakout">, "contentInsertion", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", import("@atlaskit/editor-common/types").MaybePluginName<"selectionToolbar">, "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/types").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/types").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"loom", {
|
|
20
|
+
export default function createUniversalPreset(appearance: EditorAppearance | undefined, props: UniversalPresetProps, featureFlags: FeatureFlags, prevAppearance?: EditorAppearance, createAnalyticsEvent?: CreateUIAnalyticsEvent): import("@atlaskit/editor-common/preset").EditorPresetBuilder<[import("@atlaskit/editor-common/types").MaybePluginName<"loom">, "codeBidiWarning", import("@atlaskit/editor-common/types").MaybePluginName<"pasteOptionsToolbarPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"border">, import("@atlaskit/editor-common/types").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/types").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/types").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/types").MaybePluginName<"indentation">, import("@atlaskit/editor-common/types").MaybePluginName<"status">, import("@atlaskit/editor-common/types").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/types").MaybePluginName<"card">, import("@atlaskit/editor-common/types").MaybePluginName<"layout">, import("@atlaskit/editor-common/types").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/types").MaybePluginName<"date">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"extension">, import("@atlaskit/editor-common/types").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/types").MaybePluginName<"panel">, import("@atlaskit/editor-common/types").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/types").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/types").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/types").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/types").MaybePluginName<"table">, import("@atlaskit/editor-common/types").MaybePluginName<"emoji">, import("@atlaskit/editor-common/types").MaybePluginName<"mention">, import("@atlaskit/editor-common/types").MaybePluginName<"caption">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"grid">, import("@atlaskit/editor-common/types").MaybePluginName<"guideline">, import("@atlaskit/editor-common/types").MaybePluginName<"expand">, import("@atlaskit/editor-common/types").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/types").MaybePluginName<"textColor">, import("@atlaskit/editor-common/types").MaybePluginName<"alignment">, import("@atlaskit/editor-common/types").MaybePluginName<"breakout">, "contentInsertion", "accessibilityUtils", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", import("@atlaskit/editor-common/types").MaybePluginName<"selectionToolbar">, "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/types").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/types").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"loom", {
|
|
21
21
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
22
22
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
23
23
|
sharedState: {
|
|
@@ -507,7 +507,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
507
507
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
508
508
|
};
|
|
509
509
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
510
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
510
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
511
511
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
512
512
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
513
513
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -574,7 +574,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
574
574
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
575
575
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
576
576
|
};
|
|
577
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
577
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
578
578
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
579
579
|
actions: {
|
|
580
580
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -1647,7 +1647,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1647
1647
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1648
1648
|
};
|
|
1649
1649
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1650
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1650
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1651
1651
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
1652
1652
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
1653
1653
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1714,7 +1714,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1714
1714
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1715
1715
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1716
1716
|
};
|
|
1717
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
1717
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
1718
1718
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1719
1719
|
actions: {
|
|
1720
1720
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2279,7 +2279,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2279
2279
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2280
2280
|
};
|
|
2281
2281
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2282
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2282
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2283
2283
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
2284
2284
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
2285
2285
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2346,7 +2346,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2346
2346
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2347
2347
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2348
2348
|
};
|
|
2349
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
2349
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
2350
2350
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2351
2351
|
actions: {
|
|
2352
2352
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2558,6 +2558,14 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2558
2558
|
}, FeatureFlags>>];
|
|
2559
2559
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2560
2560
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>];
|
|
2561
|
+
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
2562
|
+
dependencies: [];
|
|
2563
|
+
actions: {
|
|
2564
|
+
ariaNotify: (message: string) => void;
|
|
2565
|
+
};
|
|
2566
|
+
sharedState: {
|
|
2567
|
+
message: string;
|
|
2568
|
+
};
|
|
2561
2569
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"dataConsumer", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBlock", {
|
|
2562
2570
|
pluginConfiguration: import("@atlaskit/editor-plugin-code-block").CodeBlockOptions | undefined;
|
|
2563
2571
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -2928,7 +2936,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2928
2936
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2929
2937
|
};
|
|
2930
2938
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2931
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2939
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2932
2940
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
2933
2941
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
2934
2942
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2995,7 +3003,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2995
3003
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2996
3004
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2997
3005
|
};
|
|
2998
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
3006
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
2999
3007
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3000
3008
|
actions: {
|
|
3001
3009
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -3788,7 +3796,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3788
3796
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3789
3797
|
};
|
|
3790
3798
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3791
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3799
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3792
3800
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
3793
3801
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
3794
3802
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3855,7 +3863,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3855
3863
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3856
3864
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3857
3865
|
};
|
|
3858
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
3866
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
3859
3867
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3860
3868
|
actions: {
|
|
3861
3869
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|