@atlaskit/editor-plugin-loom 3.1.27 → 3.1.29
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 +12 -0
- package/dist/cjs/pm-plugins/commands.js +4 -1
- package/dist/cjs/ui/PrimaryToolbarButton.js +2 -0
- package/dist/es2019/pm-plugins/commands.js +4 -1
- package/dist/es2019/ui/PrimaryToolbarButton.js +2 -0
- package/dist/esm/pm-plugins/commands.js +4 -1
- package/dist/esm/ui/PrimaryToolbarButton.js +2 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -119,7 +119,10 @@ var getPositions = function getPositions(tr, posType) {
|
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
|
-
var insertLoom = exports.insertLoom = function insertLoom(editorView, api, video, positionType
|
|
122
|
+
var insertLoom = exports.insertLoom = function insertLoom(editorView, api, video, positionType
|
|
123
|
+
// Ignored via go/ees005
|
|
124
|
+
// eslint-disable-next-line @typescript-eslint/max-params
|
|
125
|
+
) {
|
|
123
126
|
var _api$hyperlink$action, _api$hyperlink;
|
|
124
127
|
if (!editorView) {
|
|
125
128
|
return false;
|
|
@@ -51,6 +51,8 @@ var CustomisableLoomToolbarButton = function CustomisableLoomToolbarButton(disab
|
|
|
51
51
|
onClick: function onClick(e) {
|
|
52
52
|
return handleOnClick(e);
|
|
53
53
|
}
|
|
54
|
+
// Ignored via go/ees005
|
|
55
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
54
56
|
}, restProps));
|
|
55
57
|
});
|
|
56
58
|
};
|
|
@@ -112,7 +112,10 @@ const getPositions = (tr, posType) => {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
|
-
export const insertLoom = (editorView, api, video, positionType
|
|
115
|
+
export const insertLoom = (editorView, api, video, positionType
|
|
116
|
+
// Ignored via go/ees005
|
|
117
|
+
// eslint-disable-next-line @typescript-eslint/max-params
|
|
118
|
+
) => {
|
|
116
119
|
var _api$hyperlink$action, _api$hyperlink;
|
|
117
120
|
if (!editorView) {
|
|
118
121
|
return false;
|
|
@@ -39,6 +39,8 @@ const CustomisableLoomToolbarButton = (disabled, appearance, api) => /*#__PURE__
|
|
|
39
39
|
api: api,
|
|
40
40
|
appearance: appearance,
|
|
41
41
|
onClick: e => handleOnClick(e)
|
|
42
|
+
// Ignored via go/ees005
|
|
43
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
42
44
|
}, restProps));
|
|
43
45
|
});
|
|
44
46
|
const LoomToolbarButtonWrapper = ({
|
|
@@ -114,7 +114,10 @@ var getPositions = function getPositions(tr, posType) {
|
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
|
-
export var insertLoom = function insertLoom(editorView, api, video, positionType
|
|
117
|
+
export var insertLoom = function insertLoom(editorView, api, video, positionType
|
|
118
|
+
// Ignored via go/ees005
|
|
119
|
+
// eslint-disable-next-line @typescript-eslint/max-params
|
|
120
|
+
) {
|
|
118
121
|
var _api$hyperlink$action, _api$hyperlink;
|
|
119
122
|
if (!editorView) {
|
|
120
123
|
return false;
|
|
@@ -42,6 +42,8 @@ var CustomisableLoomToolbarButton = function CustomisableLoomToolbarButton(disab
|
|
|
42
42
|
onClick: function onClick(e) {
|
|
43
43
|
return handleOnClick(e);
|
|
44
44
|
}
|
|
45
|
+
// Ignored via go/ees005
|
|
46
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
45
47
|
}, restProps));
|
|
46
48
|
});
|
|
47
49
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-loom",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.29",
|
|
4
4
|
"description": "Loom plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@atlaskit/button": "^20.3.0",
|
|
38
|
-
"@atlaskit/editor-common": "^
|
|
38
|
+
"@atlaskit/editor-common": "^98.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
40
40
|
"@atlaskit/editor-plugin-hyperlink": "^3.2.0",
|
|
41
41
|
"@atlaskit/editor-plugin-primary-toolbar": "^2.1.0",
|
|
42
42
|
"@atlaskit/editor-plugin-quick-insert": "^1.8.0",
|
|
43
|
-
"@atlaskit/editor-plugin-width": "^
|
|
43
|
+
"@atlaskit/editor-plugin-width": "^2.0.0",
|
|
44
44
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
45
45
|
"@atlaskit/icon": "23.1.1",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "0.3.0",
|