@atlaskit/editor-core 189.4.19 → 189.5.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 +11 -0
- package/dist/cjs/presets/universal.js +33 -27
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +33 -27
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +33 -27
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/presets/universal.d.ts +3 -3
- package/dist/types-ts4.5/presets/universal.d.ts +3 -3
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 189.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#58193](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58193) [`142df4424484`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/142df4424484) - NO-ISSUE Added new editor plugin to enable Loom video recording in the Editor
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#58193](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58193) [`c03518e00722`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c03518e00722) - NO-ISSUE Improved Loom unit tests
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 189.4.19
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -8,44 +8,45 @@ exports.default = createUniversalPreset;
|
|
|
8
8
|
exports.isExpandInsertionEnabled = isExpandInsertionEnabled;
|
|
9
9
|
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
-
var
|
|
11
|
+
var _editorPluginBorder = require("@atlaskit/editor-plugin-border");
|
|
12
|
+
var _editorPluginCaption = require("@atlaskit/editor-plugin-caption");
|
|
13
|
+
var _editorPluginCard = require("@atlaskit/editor-plugin-card");
|
|
12
14
|
var _editorPluginCodeBidiWarning = require("@atlaskit/editor-plugin-code-bidi-warning");
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
15
|
+
var _editorPluginContentInsertion = require("@atlaskit/editor-plugin-content-insertion");
|
|
16
|
+
var _editorPluginContextPanel = require("@atlaskit/editor-plugin-context-panel");
|
|
17
|
+
var _editorPluginDate = require("@atlaskit/editor-plugin-date");
|
|
18
|
+
var _editorPluginEmoji = require("@atlaskit/editor-plugin-emoji");
|
|
19
|
+
var _editorPluginExpand = require("@atlaskit/editor-plugin-expand");
|
|
20
|
+
var _editorPluginFragment = require("@atlaskit/editor-plugin-fragment");
|
|
21
|
+
var _editorPluginGrid = require("@atlaskit/editor-plugin-grid");
|
|
22
|
+
var _editorPluginGuideline = require("@atlaskit/editor-plugin-guideline");
|
|
23
|
+
var _editorPluginHelpDialog = require("@atlaskit/editor-plugin-help-dialog");
|
|
16
24
|
var _editorPluginHistory = require("@atlaskit/editor-plugin-history");
|
|
25
|
+
var _editorPluginImageUpload = require("@atlaskit/editor-plugin-image-upload");
|
|
17
26
|
var _editorPluginIndentation = require("@atlaskit/editor-plugin-indentation");
|
|
18
|
-
var _editorPluginStatus = require("@atlaskit/editor-plugin-status");
|
|
19
27
|
var _editorPluginInsertBlock = require("@atlaskit/editor-plugin-insert-block");
|
|
20
|
-
var
|
|
28
|
+
var _editorPluginLayout = require("@atlaskit/editor-plugin-layout");
|
|
29
|
+
var _editorPluginList = require("@atlaskit/editor-plugin-list");
|
|
30
|
+
var _editorPluginLoom = require("@atlaskit/editor-plugin-loom");
|
|
21
31
|
var _editorPluginMaxContentSize = require("@atlaskit/editor-plugin-max-content-size");
|
|
22
|
-
var _editorPluginCaption = require("@atlaskit/editor-plugin-caption");
|
|
23
|
-
var _editorPluginBorder = require("@atlaskit/editor-plugin-border");
|
|
24
|
-
var _editorPluginHelpDialog = require("@atlaskit/editor-plugin-help-dialog");
|
|
25
32
|
var _editorPluginMedia = require("@atlaskit/editor-plugin-media");
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var _editorPluginEmoji = require("@atlaskit/editor-plugin-emoji");
|
|
33
|
+
var _editorPluginMentions = require("@atlaskit/editor-plugin-mentions");
|
|
34
|
+
var _editorPluginPanel = require("@atlaskit/editor-plugin-panel");
|
|
29
35
|
var _editorPluginPasteOptionsToolbar = require("@atlaskit/editor-plugin-paste-options-toolbar");
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var _editorPluginCard = require("@atlaskit/editor-plugin-card");
|
|
36
|
-
var _editorPluginLayout = require("@atlaskit/editor-plugin-layout");
|
|
36
|
+
var _editorPluginPlaceholderText = require("@atlaskit/editor-plugin-placeholder-text");
|
|
37
|
+
var _editorPluginRule = require("@atlaskit/editor-plugin-rule");
|
|
38
|
+
var _editorPluginSaveOnEnter = require("@atlaskit/editor-plugin-save-on-enter");
|
|
39
|
+
var _editorPluginScrollIntoView = require("@atlaskit/editor-plugin-scroll-into-view");
|
|
40
|
+
var _editorPluginStatus = require("@atlaskit/editor-plugin-status");
|
|
37
41
|
var _editorPluginTable = require("@atlaskit/editor-plugin-table");
|
|
42
|
+
var _editorPluginTasksAndDecisions = require("@atlaskit/editor-plugin-tasks-and-decisions");
|
|
43
|
+
var _editorPluginTextColor = require("@atlaskit/editor-plugin-text-color");
|
|
38
44
|
var _editorPluginToolbarListsIndentation = require("@atlaskit/editor-plugin-toolbar-lists-indentation");
|
|
39
|
-
var _editorPluginContentInsertion = require("@atlaskit/editor-plugin-content-insertion");
|
|
40
45
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var _editorPluginMentions = require("@atlaskit/editor-plugin-mentions");
|
|
44
|
-
var _editorPluginPlaceholderText = require("@atlaskit/editor-plugin-placeholder-text");
|
|
45
|
-
var _editorPluginExpand = require("@atlaskit/editor-plugin-expand");
|
|
46
|
+
var _plugins = require("../plugins");
|
|
47
|
+
var _utils = require("@atlaskit/editor-common/utils");
|
|
46
48
|
var _isFullPage = require("../utils/is-full-page");
|
|
47
49
|
var _default = require("./default");
|
|
48
|
-
var _utils = require("@atlaskit/editor-common/utils");
|
|
49
50
|
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; }
|
|
50
51
|
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) { (0, _defineProperty2.default)(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; }
|
|
51
52
|
/**
|
|
@@ -419,7 +420,12 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
|
|
|
419
420
|
return builder;
|
|
420
421
|
}).add([_editorPluginCodeBidiWarning.codeBidiWarningPlugin, {
|
|
421
422
|
appearance: appearance
|
|
422
|
-
}])
|
|
423
|
+
}]).maybeAdd(_editorPluginLoom.loomPlugin, function (loomPlugin, builder) {
|
|
424
|
+
if ((0, _platformFeatureFlags.getBooleanFF)('platform.editor.loom-integration')) {
|
|
425
|
+
return builder.add(loomPlugin);
|
|
426
|
+
}
|
|
427
|
+
return builder;
|
|
428
|
+
});
|
|
423
429
|
return finalPreset;
|
|
424
430
|
}
|
|
425
431
|
function isExpandInsertionEnabled(_ref) {
|
|
@@ -1,41 +1,42 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { borderPlugin } from '@atlaskit/editor-plugin-border';
|
|
2
|
+
import { captionPlugin } from '@atlaskit/editor-plugin-caption';
|
|
3
|
+
import { cardPlugin } from '@atlaskit/editor-plugin-card';
|
|
2
4
|
import { codeBidiWarningPlugin } from '@atlaskit/editor-plugin-code-bidi-warning';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
5
|
+
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
6
|
+
import { contextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
|
|
7
|
+
import { datePlugin } from '@atlaskit/editor-plugin-date';
|
|
8
|
+
import { emojiPlugin } from '@atlaskit/editor-plugin-emoji';
|
|
9
|
+
import { expandPlugin } from '@atlaskit/editor-plugin-expand';
|
|
10
|
+
import { fragmentPlugin } from '@atlaskit/editor-plugin-fragment';
|
|
11
|
+
import { gridPlugin } from '@atlaskit/editor-plugin-grid';
|
|
12
|
+
import { guidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
13
|
+
import { helpDialogPlugin } from '@atlaskit/editor-plugin-help-dialog';
|
|
6
14
|
import { historyPlugin } from '@atlaskit/editor-plugin-history';
|
|
15
|
+
import { imageUploadPlugin } from '@atlaskit/editor-plugin-image-upload';
|
|
7
16
|
import { indentationPlugin } from '@atlaskit/editor-plugin-indentation';
|
|
8
|
-
import { statusPlugin } from '@atlaskit/editor-plugin-status';
|
|
9
17
|
import { insertBlockPlugin } from '@atlaskit/editor-plugin-insert-block';
|
|
10
|
-
import {
|
|
18
|
+
import { layoutPlugin } from '@atlaskit/editor-plugin-layout';
|
|
19
|
+
import { listPlugin } from '@atlaskit/editor-plugin-list';
|
|
20
|
+
import { loomPlugin } from '@atlaskit/editor-plugin-loom';
|
|
11
21
|
import { maxContentSizePlugin } from '@atlaskit/editor-plugin-max-content-size';
|
|
12
|
-
import { captionPlugin } from '@atlaskit/editor-plugin-caption';
|
|
13
|
-
import { borderPlugin } from '@atlaskit/editor-plugin-border';
|
|
14
|
-
import { helpDialogPlugin } from '@atlaskit/editor-plugin-help-dialog';
|
|
15
22
|
import { mediaPlugin } from '@atlaskit/editor-plugin-media';
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { emojiPlugin } from '@atlaskit/editor-plugin-emoji';
|
|
23
|
+
import { mentionsPlugin } from '@atlaskit/editor-plugin-mentions';
|
|
24
|
+
import { panelPlugin } from '@atlaskit/editor-plugin-panel';
|
|
19
25
|
import { pasteOptionsToolbarPlugin } from '@atlaskit/editor-plugin-paste-options-toolbar';
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { cardPlugin } from '@atlaskit/editor-plugin-card';
|
|
26
|
-
import { layoutPlugin } from '@atlaskit/editor-plugin-layout';
|
|
26
|
+
import { placeholderTextPlugin } from '@atlaskit/editor-plugin-placeholder-text';
|
|
27
|
+
import { rulePlugin } from '@atlaskit/editor-plugin-rule';
|
|
28
|
+
import { saveOnEnterPlugin } from '@atlaskit/editor-plugin-save-on-enter';
|
|
29
|
+
import { scrollIntoViewPlugin } from '@atlaskit/editor-plugin-scroll-into-view';
|
|
30
|
+
import { statusPlugin } from '@atlaskit/editor-plugin-status';
|
|
27
31
|
import { tablesPlugin } from '@atlaskit/editor-plugin-table';
|
|
32
|
+
import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugin-tasks-and-decisions';
|
|
33
|
+
import { textColorPlugin } from '@atlaskit/editor-plugin-text-color';
|
|
28
34
|
import { toolbarListsIndentationPlugin } from '@atlaskit/editor-plugin-toolbar-lists-indentation';
|
|
29
|
-
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
30
35
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { mentionsPlugin } from '@atlaskit/editor-plugin-mentions';
|
|
34
|
-
import { placeholderTextPlugin } from '@atlaskit/editor-plugin-placeholder-text';
|
|
35
|
-
import { expandPlugin } from '@atlaskit/editor-plugin-expand';
|
|
36
|
+
import { alignmentPlugin, annotationPlugin, avatarGroupPlugin, beforePrimaryToolbarPlugin, breakoutPlugin, collabEditPlugin, customAutoformatPlugin, dataConsumerMarkPlugin, extensionPlugin, feedbackDialogPlugin, findReplacePlugin, jiraIssuePlugin, mobileDimensionsPlugin, mobileSelectionPlugin, viewUpdateSubscriptionPlugin } from '../plugins';
|
|
37
|
+
import { shouldForceTracking } from '@atlaskit/editor-common/utils';
|
|
36
38
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
37
39
|
import { createDefaultPreset } from './default';
|
|
38
|
-
import { shouldForceTracking } from '@atlaskit/editor-common/utils';
|
|
39
40
|
/**
|
|
40
41
|
* Creates a preset with all of the available plugins.
|
|
41
42
|
* Basis for create-plugins-list and can be used to migrate from Editor -> EditorNext (Presets project)
|
|
@@ -415,7 +416,12 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
415
416
|
return builder;
|
|
416
417
|
}).add([codeBidiWarningPlugin, {
|
|
417
418
|
appearance
|
|
418
|
-
}])
|
|
419
|
+
}]).maybeAdd(loomPlugin, (loomPlugin, builder) => {
|
|
420
|
+
if (getBooleanFF('platform.editor.loom-integration')) {
|
|
421
|
+
return builder.add(loomPlugin);
|
|
422
|
+
}
|
|
423
|
+
return builder;
|
|
424
|
+
});
|
|
419
425
|
return finalPreset;
|
|
420
426
|
}
|
|
421
427
|
export function isExpandInsertionEnabled({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "189.
|
|
2
|
+
export const version = "189.5.0";
|
|
@@ -2,44 +2,45 @@ import _typeof from "@babel/runtime/helpers/typeof";
|
|
|
2
2
|
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
|
-
import {
|
|
5
|
+
import { borderPlugin } from '@atlaskit/editor-plugin-border';
|
|
6
|
+
import { captionPlugin } from '@atlaskit/editor-plugin-caption';
|
|
7
|
+
import { cardPlugin } from '@atlaskit/editor-plugin-card';
|
|
6
8
|
import { codeBidiWarningPlugin } from '@atlaskit/editor-plugin-code-bidi-warning';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
9
|
+
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
10
|
+
import { contextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
|
|
11
|
+
import { datePlugin } from '@atlaskit/editor-plugin-date';
|
|
12
|
+
import { emojiPlugin } from '@atlaskit/editor-plugin-emoji';
|
|
13
|
+
import { expandPlugin } from '@atlaskit/editor-plugin-expand';
|
|
14
|
+
import { fragmentPlugin } from '@atlaskit/editor-plugin-fragment';
|
|
15
|
+
import { gridPlugin } from '@atlaskit/editor-plugin-grid';
|
|
16
|
+
import { guidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
17
|
+
import { helpDialogPlugin } from '@atlaskit/editor-plugin-help-dialog';
|
|
10
18
|
import { historyPlugin } from '@atlaskit/editor-plugin-history';
|
|
19
|
+
import { imageUploadPlugin } from '@atlaskit/editor-plugin-image-upload';
|
|
11
20
|
import { indentationPlugin } from '@atlaskit/editor-plugin-indentation';
|
|
12
|
-
import { statusPlugin } from '@atlaskit/editor-plugin-status';
|
|
13
21
|
import { insertBlockPlugin } from '@atlaskit/editor-plugin-insert-block';
|
|
14
|
-
import {
|
|
22
|
+
import { layoutPlugin } from '@atlaskit/editor-plugin-layout';
|
|
23
|
+
import { listPlugin } from '@atlaskit/editor-plugin-list';
|
|
24
|
+
import { loomPlugin } from '@atlaskit/editor-plugin-loom';
|
|
15
25
|
import { maxContentSizePlugin } from '@atlaskit/editor-plugin-max-content-size';
|
|
16
|
-
import { captionPlugin } from '@atlaskit/editor-plugin-caption';
|
|
17
|
-
import { borderPlugin } from '@atlaskit/editor-plugin-border';
|
|
18
|
-
import { helpDialogPlugin } from '@atlaskit/editor-plugin-help-dialog';
|
|
19
26
|
import { mediaPlugin } from '@atlaskit/editor-plugin-media';
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { emojiPlugin } from '@atlaskit/editor-plugin-emoji';
|
|
27
|
+
import { mentionsPlugin } from '@atlaskit/editor-plugin-mentions';
|
|
28
|
+
import { panelPlugin } from '@atlaskit/editor-plugin-panel';
|
|
23
29
|
import { pasteOptionsToolbarPlugin } from '@atlaskit/editor-plugin-paste-options-toolbar';
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import { cardPlugin } from '@atlaskit/editor-plugin-card';
|
|
30
|
-
import { layoutPlugin } from '@atlaskit/editor-plugin-layout';
|
|
30
|
+
import { placeholderTextPlugin } from '@atlaskit/editor-plugin-placeholder-text';
|
|
31
|
+
import { rulePlugin } from '@atlaskit/editor-plugin-rule';
|
|
32
|
+
import { saveOnEnterPlugin } from '@atlaskit/editor-plugin-save-on-enter';
|
|
33
|
+
import { scrollIntoViewPlugin } from '@atlaskit/editor-plugin-scroll-into-view';
|
|
34
|
+
import { statusPlugin } from '@atlaskit/editor-plugin-status';
|
|
31
35
|
import { tablesPlugin } from '@atlaskit/editor-plugin-table';
|
|
36
|
+
import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugin-tasks-and-decisions';
|
|
37
|
+
import { textColorPlugin } from '@atlaskit/editor-plugin-text-color';
|
|
32
38
|
import { toolbarListsIndentationPlugin } from '@atlaskit/editor-plugin-toolbar-lists-indentation';
|
|
33
|
-
import { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
34
39
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import { mentionsPlugin } from '@atlaskit/editor-plugin-mentions';
|
|
38
|
-
import { placeholderTextPlugin } from '@atlaskit/editor-plugin-placeholder-text';
|
|
39
|
-
import { expandPlugin } from '@atlaskit/editor-plugin-expand';
|
|
40
|
+
import { alignmentPlugin, annotationPlugin, avatarGroupPlugin, beforePrimaryToolbarPlugin, breakoutPlugin, collabEditPlugin, customAutoformatPlugin, dataConsumerMarkPlugin, extensionPlugin, feedbackDialogPlugin, findReplacePlugin, jiraIssuePlugin, mobileDimensionsPlugin, mobileSelectionPlugin, viewUpdateSubscriptionPlugin } from '../plugins';
|
|
41
|
+
import { shouldForceTracking } from '@atlaskit/editor-common/utils';
|
|
40
42
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
41
43
|
import { createDefaultPreset } from './default';
|
|
42
|
-
import { shouldForceTracking } from '@atlaskit/editor-common/utils';
|
|
43
44
|
/**
|
|
44
45
|
* Creates a preset with all of the available plugins.
|
|
45
46
|
* Basis for create-plugins-list and can be used to migrate from Editor -> EditorNext (Presets project)
|
|
@@ -411,7 +412,12 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
411
412
|
return builder;
|
|
412
413
|
}).add([codeBidiWarningPlugin, {
|
|
413
414
|
appearance: appearance
|
|
414
|
-
}])
|
|
415
|
+
}]).maybeAdd(loomPlugin, function (loomPlugin, builder) {
|
|
416
|
+
if (getBooleanFF('platform.editor.loom-integration')) {
|
|
417
|
+
return builder.add(loomPlugin);
|
|
418
|
+
}
|
|
419
|
+
return builder;
|
|
420
|
+
});
|
|
415
421
|
return finalPreset;
|
|
416
422
|
}
|
|
417
423
|
export function isExpandInsertionEnabled(_ref) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "189.
|
|
2
|
+
export var version = "189.5.0";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
2
|
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
3
|
+
import type { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
3
4
|
import type { EditorProps } from '../types';
|
|
5
|
+
import type { EditorPluginFeatureProps, EditorProviderProps, EditorSharedPropsWithPlugins } from '../types/editor-props';
|
|
6
|
+
import type { FeatureFlags } from '../types/feature-flags';
|
|
4
7
|
import type { DefaultPresetPluginOptions } from './default';
|
|
5
8
|
import type { EditorPresetProps } from './types';
|
|
6
|
-
import type { EditorSharedPropsWithPlugins, EditorPluginFeatureProps, EditorProviderProps } from '../types/editor-props';
|
|
7
|
-
import type { FeatureFlags } from '../types/feature-flags';
|
|
8
|
-
import type { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
9
9
|
type UniversalPresetProps = EditorPresetProps & DefaultPresetPluginOptions & EditorSharedPropsWithPlugins & EditorPluginFeatureProps & EditorProviderProps;
|
|
10
10
|
/**
|
|
11
11
|
* Creates a preset with all of the available plugins.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
2
|
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
3
|
+
import type { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
3
4
|
import type { EditorProps } from '../types';
|
|
5
|
+
import type { EditorPluginFeatureProps, EditorProviderProps, EditorSharedPropsWithPlugins } from '../types/editor-props';
|
|
6
|
+
import type { FeatureFlags } from '../types/feature-flags';
|
|
4
7
|
import type { DefaultPresetPluginOptions } from './default';
|
|
5
8
|
import type { EditorPresetProps } from './types';
|
|
6
|
-
import type { EditorSharedPropsWithPlugins, EditorPluginFeatureProps, EditorProviderProps } from '../types/editor-props';
|
|
7
|
-
import type { FeatureFlags } from '../types/feature-flags';
|
|
8
|
-
import type { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
9
9
|
type UniversalPresetProps = EditorPresetProps & DefaultPresetPluginOptions & EditorSharedPropsWithPlugins & EditorPluginFeatureProps & EditorProviderProps;
|
|
10
10
|
/**
|
|
11
11
|
* Creates a preset with all of the available plugins.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "189.
|
|
3
|
+
"version": "189.5.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/checkbox": "^13.0.0",
|
|
52
52
|
"@atlaskit/date": "^0.10.0",
|
|
53
53
|
"@atlaskit/datetime-picker": "^13.0.0",
|
|
54
|
-
"@atlaskit/editor-common": "^76.
|
|
54
|
+
"@atlaskit/editor-common": "^76.25.0",
|
|
55
55
|
"@atlaskit/editor-json-transformer": "^8.10.0",
|
|
56
56
|
"@atlaskit/editor-markdown-transformer": "^5.2.5",
|
|
57
57
|
"@atlaskit/editor-plugin-analytics": "^0.3.0",
|
|
@@ -89,6 +89,7 @@
|
|
|
89
89
|
"@atlaskit/editor-plugin-insert-block": "^0.2.0",
|
|
90
90
|
"@atlaskit/editor-plugin-layout": "^0.1.0",
|
|
91
91
|
"@atlaskit/editor-plugin-list": "^1.4.0",
|
|
92
|
+
"@atlaskit/editor-plugin-loom": "^0.1.0",
|
|
92
93
|
"@atlaskit/editor-plugin-max-content-size": "^0.1.0",
|
|
93
94
|
"@atlaskit/editor-plugin-media": "^0.4.0",
|
|
94
95
|
"@atlaskit/editor-plugin-mentions": "^0.1.0",
|
|
@@ -349,6 +350,9 @@
|
|
|
349
350
|
"platform.editor.ordered-list-auto-join-improvements_mrlv5": {
|
|
350
351
|
"type": "boolean",
|
|
351
352
|
"referenceOnly": "true"
|
|
353
|
+
},
|
|
354
|
+
"platform.editor.loom-integration": {
|
|
355
|
+
"type": "boolean"
|
|
352
356
|
}
|
|
353
357
|
}
|
|
354
358
|
}
|