@atlaskit/editor-plugin-block-controls 1.4.2 → 1.4.3
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-controls
|
|
2
2
|
|
|
3
|
+
## 1.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#103721](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103721)
|
|
8
|
+
[`8c44ebf695aa`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8c44ebf695aa) -
|
|
9
|
+
Adjust drag preview opacity
|
|
10
|
+
|
|
3
11
|
## 1.4.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -12,6 +12,7 @@ var dragPreview = exports.dragPreview = function dragPreview(container, domRef)
|
|
|
12
12
|
var parent = document.createElement('div');
|
|
13
13
|
// ProseMirror class is required to make sure the cloned dom is styled correctly
|
|
14
14
|
parent.classList.add('ProseMirror');
|
|
15
|
+
parent.style.opacity = '0.3';
|
|
15
16
|
var resizer = domRef.current.querySelector('.resizer-item');
|
|
16
17
|
var clonedDom = resizer ? resizer.cloneNode(true) : domRef.current.cloneNode(true);
|
|
17
18
|
|
|
@@ -6,6 +6,7 @@ export const dragPreview = (container, domRef) => {
|
|
|
6
6
|
const parent = document.createElement('div');
|
|
7
7
|
// ProseMirror class is required to make sure the cloned dom is styled correctly
|
|
8
8
|
parent.classList.add('ProseMirror');
|
|
9
|
+
parent.style.opacity = '0.3';
|
|
9
10
|
const resizer = domRef.current.querySelector('.resizer-item');
|
|
10
11
|
const clonedDom = resizer ? resizer.cloneNode(true) : domRef.current.cloneNode(true);
|
|
11
12
|
|
|
@@ -6,6 +6,7 @@ export var dragPreview = function dragPreview(container, domRef) {
|
|
|
6
6
|
var parent = document.createElement('div');
|
|
7
7
|
// ProseMirror class is required to make sure the cloned dom is styled correctly
|
|
8
8
|
parent.classList.add('ProseMirror');
|
|
9
|
+
parent.style.opacity = '0.3';
|
|
9
10
|
var resizer = domRef.current.querySelector('.resizer-item');
|
|
10
11
|
var clonedDom = resizer ? resizer.cloneNode(true) : domRef.current.cloneNode(true);
|
|
11
12
|
|