@atlaskit/editor-plugin-text-formatting 8.1.13 → 8.2.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
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-text-formatting
|
|
2
2
|
|
|
3
|
+
## 8.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`87bb2de1fb74d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87bb2de1fb74d) -
|
|
8
|
+
Fix scrollable-region-focusable a11y violation on inline code by removing overflow:auto from code
|
|
9
|
+
mark styles in EditorContentContainer behind the platform_editor_a11y_scrollable_region
|
|
10
|
+
experiment. Removing overflow:auto eliminates the scrollable region entirely (text wraps naturally
|
|
11
|
+
via overflow-wrap:break-word and white-space:pre-wrap),
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
17
|
+
## 8.1.14
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 8.1.13
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -41,7 +41,7 @@ var checkNodeSelection = function checkNodeSelection(mark, editorState, type) {
|
|
|
41
41
|
type: type
|
|
42
42
|
})(editorState);
|
|
43
43
|
};
|
|
44
|
-
var getTextFormattingState = function getTextFormattingState(editorState,
|
|
44
|
+
var getTextFormattingState = function getTextFormattingState(editorState, _editorAnalyticsAPI) {
|
|
45
45
|
var _editorState$schema$m = editorState.schema.marks,
|
|
46
46
|
em = _editorState$schema$m.em,
|
|
47
47
|
code = _editorState$schema$m.code,
|
|
@@ -30,7 +30,7 @@ const checkNodeSelection = (mark, editorState, type) => {
|
|
|
30
30
|
type: type
|
|
31
31
|
})(editorState);
|
|
32
32
|
};
|
|
33
|
-
const getTextFormattingState = (editorState,
|
|
33
|
+
const getTextFormattingState = (editorState, _editorAnalyticsAPI) => {
|
|
34
34
|
const {
|
|
35
35
|
em,
|
|
36
36
|
code,
|
|
@@ -34,7 +34,7 @@ var checkNodeSelection = function checkNodeSelection(mark, editorState, type) {
|
|
|
34
34
|
type: type
|
|
35
35
|
})(editorState);
|
|
36
36
|
};
|
|
37
|
-
var getTextFormattingState = function getTextFormattingState(editorState,
|
|
37
|
+
var getTextFormattingState = function getTextFormattingState(editorState, _editorAnalyticsAPI) {
|
|
38
38
|
var _editorState$schema$m = editorState.schema.marks,
|
|
39
39
|
em = _editorState$schema$m.em,
|
|
40
40
|
code = _editorState$schema$m.code,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-text-formatting",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"description": "Text-formatting plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/icon": "^33.1.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
49
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
49
|
+
"@atlaskit/tmp-editor-statsig": "^51.1.0",
|
|
50
50
|
"@atlaskit/tokens": "^11.4.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
52
52
|
"@emotion/react": "^11.7.1",
|