@atlaskit/editor-plugin-synced-block 8.0.8 → 8.0.9
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,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-synced-block
|
|
2
2
|
|
|
3
|
+
## 8.0.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c9d88dc997d4a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c9d88dc997d4a) -
|
|
8
|
+
Improve quick insert ranking for synced block when searching 'create'
|
|
9
|
+
(platform_synced_block_patch_10)
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 8.0.8
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -10,6 +10,7 @@ exports.getQuickInsertConfig = void 0;
|
|
|
10
10
|
require("./quick-insert.compiled.css");
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
|
+
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
13
14
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
14
15
|
var _quickInsert = require("@atlaskit/editor-common/quick-insert");
|
|
15
16
|
var _lozenge = _interopRequireDefault(require("@atlaskit/lozenge"));
|
|
@@ -28,8 +29,8 @@ var getQuickInsertConfig = exports.getQuickInsertConfig = function getQuickInser
|
|
|
28
29
|
id: 'syncBlock',
|
|
29
30
|
title: formatMessage(_messages.blockTypeMessages.syncedBlock),
|
|
30
31
|
description: formatMessage(_messages.blockTypeMessages.syncedBlockDescription),
|
|
31
|
-
priority: 800,
|
|
32
|
-
keywords: ['synced', 'block', 'synced-block', 'sync', 'sync-block', 'auto', 'update', 'excerpt', 'connect'],
|
|
32
|
+
priority: (0, _platformFeatureFlags.fg)('platform_synced_block_patch_10') ? 400 : 800,
|
|
33
|
+
keywords: ['synced', 'block', 'synced-block', 'sync', 'sync-block', 'auto', 'update', 'excerpt', 'connect'].concat((0, _toConsumableArray2.default)((0, _platformFeatureFlags.fg)('platform_synced_block_patch_10') ? ['create'] : [])),
|
|
33
34
|
isDisabledOffline: true,
|
|
34
35
|
keyshortcut: '',
|
|
35
36
|
lozenge: /*#__PURE__*/React.createElement("span", {
|
|
@@ -20,8 +20,8 @@ export const getQuickInsertConfig = (config, api, syncBlockStore) => {
|
|
|
20
20
|
id: 'syncBlock',
|
|
21
21
|
title: formatMessage(blockTypeMessages.syncedBlock),
|
|
22
22
|
description: formatMessage(blockTypeMessages.syncedBlockDescription),
|
|
23
|
-
priority: 800,
|
|
24
|
-
keywords: ['synced', 'block', 'synced-block', 'sync', 'sync-block', 'auto', 'update', 'excerpt', 'connect'],
|
|
23
|
+
priority: fg('platform_synced_block_patch_10') ? 400 : 800,
|
|
24
|
+
keywords: ['synced', 'block', 'synced-block', 'sync', 'sync-block', 'auto', 'update', 'excerpt', 'connect', ...(fg('platform_synced_block_patch_10') ? ['create'] : [])],
|
|
25
25
|
isDisabledOffline: true,
|
|
26
26
|
keyshortcut: '',
|
|
27
27
|
lozenge: /*#__PURE__*/React.createElement("span", {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* quick-insert.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
|
+
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
3
|
import "./quick-insert.compiled.css";
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -19,8 +20,8 @@ export var getQuickInsertConfig = function getQuickInsertConfig(config, api, syn
|
|
|
19
20
|
id: 'syncBlock',
|
|
20
21
|
title: formatMessage(blockTypeMessages.syncedBlock),
|
|
21
22
|
description: formatMessage(blockTypeMessages.syncedBlockDescription),
|
|
22
|
-
priority: 800,
|
|
23
|
-
keywords: ['synced', 'block', 'synced-block', 'sync', 'sync-block', 'auto', 'update', 'excerpt', 'connect'],
|
|
23
|
+
priority: fg('platform_synced_block_patch_10') ? 400 : 800,
|
|
24
|
+
keywords: ['synced', 'block', 'synced-block', 'sync', 'sync-block', 'auto', 'update', 'excerpt', 'connect'].concat(_toConsumableArray(fg('platform_synced_block_patch_10') ? ['create'] : [])),
|
|
24
25
|
isDisabledOffline: true,
|
|
25
26
|
keyshortcut: '',
|
|
26
27
|
lozenge: /*#__PURE__*/React.createElement("span", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-synced-block",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.9",
|
|
4
4
|
"description": "SyncedBlock plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -126,6 +126,9 @@
|
|
|
126
126
|
},
|
|
127
127
|
"platform_synced_block_patch_9": {
|
|
128
128
|
"type": "boolean"
|
|
129
|
+
},
|
|
130
|
+
"platform_synced_block_patch_10": {
|
|
131
|
+
"type": "boolean"
|
|
129
132
|
}
|
|
130
133
|
}
|
|
131
134
|
}
|