@atlaskit/editor-plugin-block-controls 9.0.19 → 9.0.20
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,15 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-controls
|
|
2
2
|
|
|
3
|
+
## 9.0.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a64a0cad8103d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a64a0cad8103d) -
|
|
8
|
+
Cleanup stale feature flag `platform_editor_quick_insert_image_wrap_right_fix`. The enabled
|
|
9
|
+
behaviour (setting `clear: unset` on the quick insert button element to prevent interference with
|
|
10
|
+
floated wrap-right images) is now always active.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 9.0.19
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -71,10 +71,9 @@ var quickInsertButtonDecoration = exports.quickInsertButtonDecoration = function
|
|
|
71
71
|
var element = document.createElement('span');
|
|
72
72
|
// inline decoration causes cursor disappear when focusing editor at the first line (e.g. press Tab when title is focused)
|
|
73
73
|
element.style.display = 'block';
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
74
|
+
|
|
75
|
+
// make sure it does not interfere with elements floating next to each other e.g. paragraph next to image with wrap-right
|
|
76
|
+
element.style.clear = 'unset';
|
|
78
77
|
element.contentEditable = 'false';
|
|
79
78
|
element.setAttribute('data-blocks-quick-insert-container', 'true');
|
|
80
79
|
if ((0, _expValEqualsNoExposure.expValEqualsNoExposure)('confluence_remix_icon_right_side', 'isEnabled', true)) {
|
|
@@ -62,10 +62,9 @@ export const quickInsertButtonDecoration = ({
|
|
|
62
62
|
const element = document.createElement('span');
|
|
63
63
|
// inline decoration causes cursor disappear when focusing editor at the first line (e.g. press Tab when title is focused)
|
|
64
64
|
element.style.display = 'block';
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
65
|
+
|
|
66
|
+
// make sure it does not interfere with elements floating next to each other e.g. paragraph next to image with wrap-right
|
|
67
|
+
element.style.clear = 'unset';
|
|
69
68
|
element.contentEditable = 'false';
|
|
70
69
|
element.setAttribute('data-blocks-quick-insert-container', 'true');
|
|
71
70
|
if (expValEqualsNoExposure('confluence_remix_icon_right_side', 'isEnabled', true)) {
|
|
@@ -63,10 +63,9 @@ export var quickInsertButtonDecoration = function quickInsertButtonDecoration(_r
|
|
|
63
63
|
var element = document.createElement('span');
|
|
64
64
|
// inline decoration causes cursor disappear when focusing editor at the first line (e.g. press Tab when title is focused)
|
|
65
65
|
element.style.display = 'block';
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
66
|
+
|
|
67
|
+
// make sure it does not interfere with elements floating next to each other e.g. paragraph next to image with wrap-right
|
|
68
|
+
element.style.clear = 'unset';
|
|
70
69
|
element.contentEditable = 'false';
|
|
71
70
|
element.setAttribute('data-blocks-quick-insert-container', 'true');
|
|
72
71
|
if (expValEqualsNoExposure('confluence_remix_icon_right_side', 'isEnabled', true)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-controls",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.20",
|
|
4
4
|
"description": "Block controls plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
|
|
57
57
|
"@atlaskit/primitives": "^18.0.0",
|
|
58
58
|
"@atlaskit/theme": "^22.0.0",
|
|
59
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
59
|
+
"@atlaskit/tmp-editor-statsig": "^45.0.0",
|
|
60
60
|
"@atlaskit/tokens": "^11.1.0",
|
|
61
61
|
"@atlaskit/tooltip": "^21.0.0",
|
|
62
62
|
"@babel/runtime": "^7.0.0",
|