@atlaskit/editor-plugin-code-block 1.2.6 → 1.2.8
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 +14 -0
- package/dist/cjs/toolbar.js +1 -0
- package/dist/es2019/toolbar.js +1 -0
- package/dist/esm/toolbar.js +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-code-block
|
|
2
2
|
|
|
3
|
+
## 1.2.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.2.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
|
|
14
|
+
[`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
|
|
15
|
+
[ED-22282] Bump adf-schema to 36.1.0
|
|
16
|
+
|
|
3
17
|
## 1.2.6
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/toolbar.js
CHANGED
|
@@ -69,6 +69,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig() {
|
|
|
69
69
|
var copyToClipboardItems = !allowCopyToClipboard ? [] : [{
|
|
70
70
|
id: 'editor.codeBlock.copy',
|
|
71
71
|
type: 'button',
|
|
72
|
+
supportsViewMode: true,
|
|
72
73
|
appearance: 'subtle',
|
|
73
74
|
icon: _copy.default,
|
|
74
75
|
// note: copyContentToClipboard contains logic that also removes the
|
package/dist/es2019/toolbar.js
CHANGED
|
@@ -50,6 +50,7 @@ export const getToolbarConfig = (allowCopyToClipboard = false, api) => (state, {
|
|
|
50
50
|
const copyToClipboardItems = !allowCopyToClipboard ? [] : [{
|
|
51
51
|
id: 'editor.codeBlock.copy',
|
|
52
52
|
type: 'button',
|
|
53
|
+
supportsViewMode: true,
|
|
53
54
|
appearance: 'subtle',
|
|
54
55
|
icon: CopyIcon,
|
|
55
56
|
// note: copyContentToClipboard contains logic that also removes the
|
package/dist/esm/toolbar.js
CHANGED
|
@@ -59,6 +59,7 @@ export var getToolbarConfig = function getToolbarConfig() {
|
|
|
59
59
|
var copyToClipboardItems = !allowCopyToClipboard ? [] : [{
|
|
60
60
|
id: 'editor.codeBlock.copy',
|
|
61
61
|
type: 'button',
|
|
62
|
+
supportsViewMode: true,
|
|
62
63
|
appearance: 'subtle',
|
|
63
64
|
icon: CopyIcon,
|
|
64
65
|
// note: copyContentToClipboard contains logic that also removes the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-code-block",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.8",
|
|
4
4
|
"description": "Code block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/adf-schema": "^
|
|
37
|
-
"@atlaskit/code": "^15.
|
|
38
|
-
"@atlaskit/editor-common": "^
|
|
36
|
+
"@atlaskit/adf-schema": "^36.1.0",
|
|
37
|
+
"@atlaskit/code": "^15.2.0",
|
|
38
|
+
"@atlaskit/editor-common": "^80.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^1.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-composition": "^1.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-decorations": "^1.1.0",
|