@atlaskit/editor-plugin-layout 1.1.6 → 1.1.7
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 +8 -0
- package/dist/cjs/toolbar.js +3 -2
- package/dist/es2019/toolbar.js +3 -2
- package/dist/esm/toolbar.js +3 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-layout
|
|
2
2
|
|
|
3
|
+
## 1.1.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#98080](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98080)
|
|
8
|
+
[`23c03580e38c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/23c03580e38c) -
|
|
9
|
+
[ux] [ED-23247] Allow floating toolbar copy buttons in live pages view mode.
|
|
10
|
+
|
|
3
11
|
## 1.1.6
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/cjs/toolbar.js
CHANGED
|
@@ -104,9 +104,10 @@ var buildToolbar = exports.buildToolbar = function buildToolbar(state, intl, pos
|
|
|
104
104
|
return buildLayoutButton(intl, i, currentLayout, editorAnalyticsAPI);
|
|
105
105
|
})), (0, _toConsumableArray2.default)(addSidebarLayouts ? SIDEBAR_LAYOUT_TYPES.map(function (i) {
|
|
106
106
|
return buildLayoutButton(intl, i, currentLayout, editorAnalyticsAPI);
|
|
107
|
-
}) : []), [{
|
|
107
|
+
}) : []), [separator, {
|
|
108
108
|
type: 'copy-button',
|
|
109
|
-
|
|
109
|
+
supportsViewMode: true,
|
|
110
|
+
items: [{
|
|
110
111
|
state: state,
|
|
111
112
|
formatMessage: intl.formatMessage,
|
|
112
113
|
nodeType: nodeType
|
package/dist/es2019/toolbar.js
CHANGED
|
@@ -86,9 +86,10 @@ export const buildToolbar = (state, intl, pos, _allowBreakout, addSidebarLayouts
|
|
|
86
86
|
getDomRef: view => findDomRefAtPos(pos, view.domAtPos.bind(view)),
|
|
87
87
|
nodeType,
|
|
88
88
|
groupLabel: intl.formatMessage(toolbarMessages.floatingToolbarRadioGroupAriaLabel),
|
|
89
|
-
items: [...layoutTypes.map(i => buildLayoutButton(intl, i, currentLayout, editorAnalyticsAPI)), ...(addSidebarLayouts ? SIDEBAR_LAYOUT_TYPES.map(i => buildLayoutButton(intl, i, currentLayout, editorAnalyticsAPI)) : []), {
|
|
89
|
+
items: [...layoutTypes.map(i => buildLayoutButton(intl, i, currentLayout, editorAnalyticsAPI)), ...(addSidebarLayouts ? SIDEBAR_LAYOUT_TYPES.map(i => buildLayoutButton(intl, i, currentLayout, editorAnalyticsAPI)) : []), separator, {
|
|
90
90
|
type: 'copy-button',
|
|
91
|
-
|
|
91
|
+
supportsViewMode: true,
|
|
92
|
+
items: [{
|
|
92
93
|
state,
|
|
93
94
|
formatMessage: intl.formatMessage,
|
|
94
95
|
nodeType
|
package/dist/esm/toolbar.js
CHANGED
|
@@ -94,9 +94,10 @@ export var buildToolbar = function buildToolbar(state, intl, pos, _allowBreakout
|
|
|
94
94
|
return buildLayoutButton(intl, i, currentLayout, editorAnalyticsAPI);
|
|
95
95
|
})), _toConsumableArray(addSidebarLayouts ? SIDEBAR_LAYOUT_TYPES.map(function (i) {
|
|
96
96
|
return buildLayoutButton(intl, i, currentLayout, editorAnalyticsAPI);
|
|
97
|
-
}) : []), [{
|
|
97
|
+
}) : []), [separator, {
|
|
98
98
|
type: 'copy-button',
|
|
99
|
-
|
|
99
|
+
supportsViewMode: true,
|
|
100
|
+
items: [{
|
|
100
101
|
state: state,
|
|
101
102
|
formatMessage: intl.formatMessage,
|
|
102
103
|
nodeType: nodeType
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-layout",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "Layout plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^36.1.0",
|
|
37
|
-
"@atlaskit/editor-common": "^79.
|
|
37
|
+
"@atlaskit/editor-common": "^79.4.0",
|
|
38
38
|
"@atlaskit/editor-plugin-analytics": "^1.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-decorations": "^1.1.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "4.0.1",
|