@atlaskit/editor-presets 13.0.2 → 13.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/README.md +1 -1
- package/dist/cjs/confluence-full-page-base/pluginOptions/collabEditPluginOptions.js +1 -2
- package/dist/cjs/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.js +1 -2
- package/dist/es2019/confluence-full-page-base/pluginOptions/collabEditPluginOptions.js +1 -2
- package/dist/es2019/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.js +1 -2
- package/dist/esm/confluence-full-page-base/pluginOptions/collabEditPluginOptions.js +1 -2
- package/dist/esm/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.js +1 -2
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/editor-presets
|
|
2
2
|
|
|
3
|
+
## 13.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1ee5ac1d4338d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1ee5ac1d4338d) -
|
|
8
|
+
Cleaning up cc_editor_focus_before_editor_on_load and platform_editor_no_cursor_on_edit_page_init
|
|
9
|
+
|
|
10
|
+
Cursor suppression on load is now driven by the presence of the interaction plugin rather than the
|
|
11
|
+
experiment, so only editors that opt into that plugin skip focus on a document with content.
|
|
12
|
+
`cc_editor_focus_before_editor_on_load` shipped disabled, so the pre-editor focus element has been
|
|
13
|
+
removed.
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
17
|
+
## 13.0.3
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 13.0.2
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Public editor presets for Atlassian Editor containing base configurations for Co
|
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
7
|
-
This package provides standardized, open-source, and easily consumable presets for the Atlassian Editor. It enables rapid prototyping, experimentation, and integration in external environments
|
|
7
|
+
This package provides standardized, open-source, and easily consumable presets for the Atlassian Editor. It enables rapid prototyping, experimentation, and integration in external environments.
|
|
8
8
|
|
|
9
9
|
## Available Presets
|
|
10
10
|
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.collabEditPluginOptions = collabEditPluginOptions;
|
|
7
7
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
8
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
9
8
|
function collabEditPluginOptions(_ref) {
|
|
10
9
|
var _options$collabEdit, _options$collabEdit2, _options$collabEdit3, _options$collabEdit4, _options$collabEdit5, _options$collabEdit$E, _options$collabEdit6;
|
|
11
10
|
var options = _ref.options,
|
|
@@ -16,7 +15,7 @@ function collabEditPluginOptions(_ref) {
|
|
|
16
15
|
userId: (_options$collabEdit = options.collabEdit) === null || _options$collabEdit === void 0 ? void 0 : _options$collabEdit.userId,
|
|
17
16
|
useNativePlugin: (_options$collabEdit2 = options.collabEdit) === null || _options$collabEdit2 === void 0 ? void 0 : _options$collabEdit2.useNativePlugin,
|
|
18
17
|
sanitizePrivateContent: true,
|
|
19
|
-
hideTelecursorOnLoad:
|
|
18
|
+
hideTelecursorOnLoad: true,
|
|
20
19
|
// Invite to edit related options
|
|
21
20
|
inviteToEditHandler: (_options$collabEdit3 = options.collabEdit) === null || _options$collabEdit3 === void 0 ? void 0 : _options$collabEdit3.inviteToEditHandler,
|
|
22
21
|
isInviteToEditButtonSelected: (_options$collabEdit4 = options.collabEdit) === null || _options$collabEdit4 === void 0 ? void 0 : _options$collabEdit4.isInviteToEditButtonSelected,
|
|
@@ -4,12 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.selectionMarkerPluginOptions = selectionMarkerPluginOptions;
|
|
7
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
8
7
|
function selectionMarkerPluginOptions(_ref) {
|
|
9
8
|
var options = _ref.options;
|
|
10
9
|
// SECTION: From confluence/next/packages/editor-presets/src/full-page/createFullPageEditorPreset.ts `.add(['selectionMarkerPlugin', ...])`
|
|
11
10
|
return {
|
|
12
|
-
hideCursorOnInit:
|
|
11
|
+
hideCursorOnInit: true
|
|
13
12
|
};
|
|
14
13
|
// END SECTION
|
|
15
14
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { shouldForceTracking } from '@atlaskit/editor-common/utils';
|
|
2
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
2
|
export function collabEditPluginOptions({
|
|
4
3
|
options,
|
|
5
4
|
providers
|
|
@@ -11,7 +10,7 @@ export function collabEditPluginOptions({
|
|
|
11
10
|
userId: (_options$collabEdit = options.collabEdit) === null || _options$collabEdit === void 0 ? void 0 : _options$collabEdit.userId,
|
|
12
11
|
useNativePlugin: (_options$collabEdit2 = options.collabEdit) === null || _options$collabEdit2 === void 0 ? void 0 : _options$collabEdit2.useNativePlugin,
|
|
13
12
|
sanitizePrivateContent: true,
|
|
14
|
-
hideTelecursorOnLoad:
|
|
13
|
+
hideTelecursorOnLoad: true,
|
|
15
14
|
// Invite to edit related options
|
|
16
15
|
inviteToEditHandler: (_options$collabEdit3 = options.collabEdit) === null || _options$collabEdit3 === void 0 ? void 0 : _options$collabEdit3.inviteToEditHandler,
|
|
17
16
|
isInviteToEditButtonSelected: (_options$collabEdit4 = options.collabEdit) === null || _options$collabEdit4 === void 0 ? void 0 : _options$collabEdit4.isInviteToEditButtonSelected,
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
2
1
|
export function selectionMarkerPluginOptions({
|
|
3
2
|
options
|
|
4
3
|
}) {
|
|
5
4
|
// SECTION: From confluence/next/packages/editor-presets/src/full-page/createFullPageEditorPreset.ts `.add(['selectionMarkerPlugin', ...])`
|
|
6
5
|
return {
|
|
7
|
-
hideCursorOnInit:
|
|
6
|
+
hideCursorOnInit: true
|
|
8
7
|
};
|
|
9
8
|
// END SECTION
|
|
10
9
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { shouldForceTracking } from '@atlaskit/editor-common/utils';
|
|
2
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
2
|
export function collabEditPluginOptions(_ref) {
|
|
4
3
|
var _options$collabEdit, _options$collabEdit2, _options$collabEdit3, _options$collabEdit4, _options$collabEdit5, _options$collabEdit$E, _options$collabEdit6;
|
|
5
4
|
var options = _ref.options,
|
|
@@ -10,7 +9,7 @@ export function collabEditPluginOptions(_ref) {
|
|
|
10
9
|
userId: (_options$collabEdit = options.collabEdit) === null || _options$collabEdit === void 0 ? void 0 : _options$collabEdit.userId,
|
|
11
10
|
useNativePlugin: (_options$collabEdit2 = options.collabEdit) === null || _options$collabEdit2 === void 0 ? void 0 : _options$collabEdit2.useNativePlugin,
|
|
12
11
|
sanitizePrivateContent: true,
|
|
13
|
-
hideTelecursorOnLoad:
|
|
12
|
+
hideTelecursorOnLoad: true,
|
|
14
13
|
// Invite to edit related options
|
|
15
14
|
inviteToEditHandler: (_options$collabEdit3 = options.collabEdit) === null || _options$collabEdit3 === void 0 ? void 0 : _options$collabEdit3.inviteToEditHandler,
|
|
16
15
|
isInviteToEditButtonSelected: (_options$collabEdit4 = options.collabEdit) === null || _options$collabEdit4 === void 0 ? void 0 : _options$collabEdit4.isInviteToEditButtonSelected,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
2
1
|
export function selectionMarkerPluginOptions(_ref) {
|
|
3
2
|
var options = _ref.options;
|
|
4
3
|
// SECTION: From confluence/next/packages/editor-presets/src/full-page/createFullPageEditorPreset.ts `.add(['selectionMarkerPlugin', ...])`
|
|
5
4
|
return {
|
|
6
|
-
hideCursorOnInit:
|
|
5
|
+
hideCursorOnInit: true
|
|
7
6
|
};
|
|
8
7
|
// END SECTION
|
|
9
8
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Public editor presets for Atlassian Editor containing base configurations for Confluence and other products",
|
|
6
6
|
"publishConfig": {
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"atlaskit:src": "src/index.ts",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@atlaskit/adf-schema": "^57.
|
|
23
|
+
"@atlaskit/adf-schema": "^57.6.0",
|
|
24
24
|
"@atlaskit/editor-plugin-accessibility-utils": "^19.0.0",
|
|
25
25
|
"@atlaskit/editor-plugin-alignment": "^20.0.0",
|
|
26
26
|
"@atlaskit/editor-plugin-analytics": "^19.0.0",
|
|
27
|
-
"@atlaskit/editor-plugin-annotation": "^19.
|
|
27
|
+
"@atlaskit/editor-plugin-annotation": "^19.2.0",
|
|
28
28
|
"@atlaskit/editor-plugin-avatar-group": "^20.0.0",
|
|
29
29
|
"@atlaskit/editor-plugin-base": "^20.0.0",
|
|
30
30
|
"@atlaskit/editor-plugin-batch-attribute-updates": "^19.0.0",
|
|
31
31
|
"@atlaskit/editor-plugin-better-type-history": "^19.0.0",
|
|
32
|
-
"@atlaskit/editor-plugin-block-controls": "^20.
|
|
32
|
+
"@atlaskit/editor-plugin-block-controls": "^20.1.0",
|
|
33
33
|
"@atlaskit/editor-plugin-block-menu": "^18.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-block-type": "^23.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-border": "^19.0.0",
|
|
@@ -60,18 +60,18 @@
|
|
|
60
60
|
"@atlaskit/editor-plugin-extension": "^22.0.0",
|
|
61
61
|
"@atlaskit/editor-plugin-feature-flags": "^18.0.0",
|
|
62
62
|
"@atlaskit/editor-plugin-find-replace": "^19.0.0",
|
|
63
|
-
"@atlaskit/editor-plugin-floating-toolbar": "^21.
|
|
63
|
+
"@atlaskit/editor-plugin-floating-toolbar": "^21.3.0",
|
|
64
64
|
"@atlaskit/editor-plugin-focus": "^18.0.0",
|
|
65
65
|
"@atlaskit/editor-plugin-fragment": "^19.0.0",
|
|
66
66
|
"@atlaskit/editor-plugin-grid": "^19.0.0",
|
|
67
67
|
"@atlaskit/editor-plugin-guideline": "^19.0.0",
|
|
68
|
-
"@atlaskit/editor-plugin-help-dialog": "^19.
|
|
68
|
+
"@atlaskit/editor-plugin-help-dialog": "^19.1.0",
|
|
69
69
|
"@atlaskit/editor-plugin-highlight": "^19.0.0",
|
|
70
70
|
"@atlaskit/editor-plugin-history": "^19.0.0",
|
|
71
|
-
"@atlaskit/editor-plugin-hyperlink": "^21.
|
|
71
|
+
"@atlaskit/editor-plugin-hyperlink": "^21.2.0",
|
|
72
72
|
"@atlaskit/editor-plugin-indentation": "^19.0.0",
|
|
73
73
|
"@atlaskit/editor-plugin-insert-block": "^20.0.0",
|
|
74
|
-
"@atlaskit/editor-plugin-interaction": "^
|
|
74
|
+
"@atlaskit/editor-plugin-interaction": "^33.0.0",
|
|
75
75
|
"@atlaskit/editor-plugin-interactivity": "^4.0.0",
|
|
76
76
|
"@atlaskit/editor-plugin-layout": "^20.0.0",
|
|
77
77
|
"@atlaskit/editor-plugin-limited-mode": "^16.0.0",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"@atlaskit/editor-plugin-local-id": "^17.0.0",
|
|
80
80
|
"@atlaskit/editor-plugin-loom": "^21.0.0",
|
|
81
81
|
"@atlaskit/editor-plugin-media": "^21.0.0",
|
|
82
|
-
"@atlaskit/editor-plugin-media-insert": "^
|
|
83
|
-
"@atlaskit/editor-plugin-mentions": "^21.
|
|
82
|
+
"@atlaskit/editor-plugin-media-insert": "^37.0.0",
|
|
83
|
+
"@atlaskit/editor-plugin-mentions": "^21.1.0",
|
|
84
84
|
"@atlaskit/editor-plugin-metrics": "^20.0.0",
|
|
85
85
|
"@atlaskit/editor-plugin-panel": "^21.0.0",
|
|
86
86
|
"@atlaskit/editor-plugin-paste": "^20.0.0",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@atlaskit/editor-plugin-track-changes": "^18.0.0",
|
|
109
109
|
"@atlaskit/editor-plugin-type-ahead": "^20.0.0",
|
|
110
110
|
"@atlaskit/editor-plugin-ufo": "^19.0.0",
|
|
111
|
-
"@atlaskit/editor-plugin-ui-control-registry": "^13.
|
|
111
|
+
"@atlaskit/editor-plugin-ui-control-registry": "^13.1.0",
|
|
112
112
|
"@atlaskit/editor-plugin-undo-redo": "^19.0.0",
|
|
113
113
|
"@atlaskit/editor-plugin-unsupported-content": "^19.0.0",
|
|
114
114
|
"@atlaskit/editor-plugin-user-intent": "^17.0.0",
|
|
@@ -116,13 +116,13 @@
|
|
|
116
116
|
"@atlaskit/editor-plugin-width": "^20.0.0",
|
|
117
117
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
118
118
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
119
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
119
|
+
"@atlaskit/tmp-editor-statsig": "^202.0.0",
|
|
120
120
|
"@atlassian/ari": "^3.19.0",
|
|
121
121
|
"@atlassian/editor-plugin-agent-managed-extension": "^9.0.0",
|
|
122
122
|
"@babel/runtime": "^7.0.0"
|
|
123
123
|
},
|
|
124
124
|
"peerDependencies": {
|
|
125
|
-
"@atlaskit/editor-common": "^123.
|
|
125
|
+
"@atlaskit/editor-common": "^123.7.0",
|
|
126
126
|
"react": "^18.2.0 || ^19.2.0",
|
|
127
127
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
128
128
|
},
|