@atlaskit/editor-core 193.11.11 → 193.11.14
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 +15 -0
- package/dist/cjs/composable-editor/editor.js +3 -1
- package/dist/cjs/ui/Addon/click-area-helper.js +10 -6
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +1 -1
- package/dist/cjs/ui/ContentStyles/extension.js +3 -6
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor.js +2 -1
- package/dist/es2019/ui/Addon/click-area-helper.js +11 -6
- package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +1 -1
- package/dist/es2019/ui/ContentStyles/extension.js +2 -14
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor.js +2 -1
- package/dist/esm/ui/Addon/click-area-helper.js +11 -6
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +1 -1
- package/dist/esm/ui/ContentStyles/extension.js +3 -6
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/editor.d.ts +1 -0
- package/dist/types/create-editor/create-preset.d.ts +31 -31
- package/dist/types/presets/default.d.ts +22 -22
- package/dist/types/presets/universal.d.ts +31 -31
- package/dist/types/presets/useUniversalPreset.d.ts +31 -31
- package/dist/types/ui/Addon/click-area-helper.d.ts +1 -1
- package/dist/types-ts4.5/composable-editor/editor.d.ts +1 -0
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +31 -31
- package/dist/types-ts4.5/presets/default.d.ts +22 -22
- package/dist/types-ts4.5/presets/universal.d.ts +31 -31
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +31 -31
- package/dist/types-ts4.5/ui/Addon/click-area-helper.d.ts +1 -1
- package/docs/0-intro.tsx +1 -1
- package/package.json +19 -12
|
@@ -8,6 +8,6 @@ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
|
8
8
|
* 1. if editor (e.g. comment inside of Jira ticket view) is inside modal then ensure focus and cursor is brought to the input
|
|
9
9
|
* 2. if another modal is open (e.g. delete confirmation modal for confluence table) then ignore clicks as they shouldn't influence editor state
|
|
10
10
|
*/
|
|
11
|
-
export declare const checkForModal: (target: HTMLElement) => boolean;
|
|
11
|
+
export declare const checkForModal: (target: HTMLElement | null) => boolean;
|
|
12
12
|
declare const clickAreaClickHandler: (view: EditorView, event: React.MouseEvent<any>) => false | undefined;
|
|
13
13
|
export { clickAreaClickHandler };
|
package/docs/0-intro.tsx
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "193.11.
|
|
3
|
+
"version": "193.11.14",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^17.14.0",
|
|
48
|
-
"@atlaskit/editor-common": "^78.
|
|
48
|
+
"@atlaskit/editor-common": "^78.35.0",
|
|
49
49
|
"@atlaskit/editor-json-transformer": "^8.11.0",
|
|
50
50
|
"@atlaskit/editor-plugins": "^2.5.0",
|
|
51
51
|
"@atlaskit/editor-prosemirror": "4.0.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@atlaskit/spinner": "^16.0.0",
|
|
59
59
|
"@atlaskit/task-decision": "^17.9.0",
|
|
60
60
|
"@atlaskit/theme": "^12.7.0",
|
|
61
|
-
"@atlaskit/tokens": "^1.
|
|
61
|
+
"@atlaskit/tokens": "^1.44.0",
|
|
62
62
|
"@atlaskit/tooltip": "^18.2.0",
|
|
63
63
|
"@atlaskit/ufo": "^0.2.0",
|
|
64
64
|
"@atlaskit/width-detector": "^4.1.0",
|
|
@@ -102,18 +102,18 @@
|
|
|
102
102
|
"@atlaskit/media-core": "^34.2.0",
|
|
103
103
|
"@atlaskit/media-integration-test-helpers": "^3.0.0",
|
|
104
104
|
"@atlaskit/media-test-helpers": "^33.0.27",
|
|
105
|
-
"@atlaskit/modal-dialog": "^12.
|
|
105
|
+
"@atlaskit/modal-dialog": "^12.12.0",
|
|
106
106
|
"@atlaskit/primitives": "^5.6.0",
|
|
107
|
-
"@atlaskit/renderer": "^109.
|
|
108
|
-
"@atlaskit/select": "^17.
|
|
109
|
-
"@atlaskit/smart-card": "^26.
|
|
107
|
+
"@atlaskit/renderer": "^109.21.0",
|
|
108
|
+
"@atlaskit/select": "^17.7.0",
|
|
109
|
+
"@atlaskit/smart-card": "^26.58.0",
|
|
110
110
|
"@atlaskit/synchrony-test-helpers": "^2.4.0",
|
|
111
111
|
"@atlaskit/util-data-test": "^17.9.0",
|
|
112
112
|
"@atlaskit/visual-regression": "*",
|
|
113
113
|
"@atlassian/adf-schema-json": "^1.0.7",
|
|
114
114
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
115
115
|
"@atlassian/link-picker-plugins": "^24.0.0",
|
|
116
|
-
"@atlassian/search-provider": "2.4.
|
|
116
|
+
"@atlassian/search-provider": "2.4.60",
|
|
117
117
|
"@atlassian/ufo": "^0.2.0",
|
|
118
118
|
"@emotion/jest": "^11.8.0",
|
|
119
119
|
"@storybook/addon-knobs": "^5.3.18",
|
|
@@ -244,6 +244,10 @@
|
|
|
244
244
|
"type": "boolean",
|
|
245
245
|
"referenceOnly": "true"
|
|
246
246
|
},
|
|
247
|
+
"platform.editor.allow-action-in-list": {
|
|
248
|
+
"type": "boolean",
|
|
249
|
+
"referenceOnly": "true"
|
|
250
|
+
},
|
|
247
251
|
"platform.editor.allow-list-in-blockquote": {
|
|
248
252
|
"type": "boolean"
|
|
249
253
|
},
|
|
@@ -289,10 +293,6 @@
|
|
|
289
293
|
"type": "boolean",
|
|
290
294
|
"referenceOnly": "true"
|
|
291
295
|
},
|
|
292
|
-
"platform.editor.table.analytics-plugin-moved-event": {
|
|
293
|
-
"type": "boolean",
|
|
294
|
-
"referenceOnly": "true"
|
|
295
|
-
},
|
|
296
296
|
"platform.editor.a11y-column-resizing_emcvz": {
|
|
297
297
|
"type": "boolean",
|
|
298
298
|
"referenceOnly": "true"
|
|
@@ -336,6 +336,10 @@
|
|
|
336
336
|
"type": "boolean",
|
|
337
337
|
"referenceOnly": "true"
|
|
338
338
|
},
|
|
339
|
+
"platform.editor.table-width-diff-in-renderer_x5s3z": {
|
|
340
|
+
"type": "boolean",
|
|
341
|
+
"referenceOnly": "true"
|
|
342
|
+
},
|
|
339
343
|
"platform.editor.preserve-whitespace-clipboard-text-serialization": {
|
|
340
344
|
"type": "boolean",
|
|
341
345
|
"referenceOnly": "true"
|
|
@@ -343,6 +347,9 @@
|
|
|
343
347
|
"platform.editor.live-view.disable-editing-in-view-mode_fi1rx": {
|
|
344
348
|
"type": "boolean",
|
|
345
349
|
"referenceOnly": "true"
|
|
350
|
+
},
|
|
351
|
+
"platform.editor.explicit-html-element-check": {
|
|
352
|
+
"type": "boolean"
|
|
346
353
|
}
|
|
347
354
|
},
|
|
348
355
|
"stricter": {
|