@atlaskit/editor-plugin-insert-block 3.1.6 → 3.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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/editor-plugin-insert-block
2
2
 
3
+ ## 3.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#138298](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/138298)
8
+ [`cc7cc96e28407`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cc7cc96e28407) -
9
+ Cleans up FG to preload emoji picker, allowing it to work offline
10
+ - Updated dependencies
11
+
3
12
  ## 3.1.6
4
13
 
5
14
  ### Patch Changes
@@ -106,7 +106,7 @@ var createInsertBlockItems = function createInsertBlockItems(config) {
106
106
  items.push((0, _item.emoji)({
107
107
  content: formatMessage(_messages.toolbarInsertBlockMessages.emoji),
108
108
  tooltipDescription: formatMessage(_messages.toolbarInsertBlockMessages.emojiDescription),
109
- disabled: emojiDisabled || !isTypeAheadAllowed || isOffline && !(0, _platformFeatureFlags.fg)('platform_editor_preload_emoji_picker'),
109
+ disabled: emojiDisabled || !isTypeAheadAllowed,
110
110
  'aria-haspopup': 'dialog'
111
111
  }));
112
112
  }
@@ -93,7 +93,7 @@ const createInsertBlockItems = config => {
93
93
  items.push(emoji({
94
94
  content: formatMessage(messages.emoji),
95
95
  tooltipDescription: formatMessage(messages.emojiDescription),
96
- disabled: emojiDisabled || !isTypeAheadAllowed || isOffline && !fg('platform_editor_preload_emoji_picker'),
96
+ disabled: emojiDisabled || !isTypeAheadAllowed,
97
97
  'aria-haspopup': 'dialog'
98
98
  }));
99
99
  }
@@ -99,7 +99,7 @@ var createInsertBlockItems = function createInsertBlockItems(config) {
99
99
  items.push(emoji({
100
100
  content: formatMessage(messages.emoji),
101
101
  tooltipDescription: formatMessage(messages.emojiDescription),
102
- disabled: emojiDisabled || !isTypeAheadAllowed || isOffline && !fg('platform_editor_preload_emoji_picker'),
102
+ disabled: emojiDisabled || !isTypeAheadAllowed,
103
103
  'aria-haspopup': 'dialog'
104
104
  }));
105
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-insert-block",
3
- "version": "3.1.6",
3
+ "version": "3.1.7",
4
4
  "description": "Insert block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -136,9 +136,6 @@
136
136
  "platform_editor_ease_of_use_metrics": {
137
137
  "type": "boolean"
138
138
  },
139
- "platform_editor_preload_emoji_picker": {
140
- "type": "boolean"
141
- },
142
139
  "platform_editor_add_media_from_url_rollout": {
143
140
  "type": "boolean"
144
141
  }