@atlaskit/editor-plugin-mentions 18.2.7 → 18.2.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,19 @@
1
1
  # @atlaskit/editor-plugin-mentions
2
2
 
3
+ ## 18.2.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [`799980cd2d79f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/799980cd2d79f) -
8
+ Clean up experiment `platform_editor_agent_mentions_separate_pm_plugin`.
9
+ - Updated dependencies
10
+
11
+ ## 18.2.8
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 18.2.7
4
18
 
5
19
  ### Patch Changes
@@ -143,7 +143,7 @@ var mentionsPlugin = exports.mentionsPlugin = function mentionsPlugin(_ref3) {
143
143
  });
144
144
  }
145
145
  }];
146
- if ((0, _editorExperiment.editorExperiment)('platform_editor_agent_mentions', true) && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_agent_mentions_separate_pm_plugin')) {
146
+ if ((0, _editorExperiment.editorExperiment)('platform_editor_agent_mentions', true)) {
147
147
  plugins.push({
148
148
  name: 'agentMention',
149
149
  plugin: function plugin(pmPluginFactoryParams) {
@@ -287,7 +287,7 @@ var mentionsPlugin = exports.mentionsPlugin = function mentionsPlugin(_ref3) {
287
287
  return undefined;
288
288
  }
289
289
  var mentionPluginState = _key.mentionPluginKey.getState(editorState);
290
- var agentMentionPluginState = (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_agent_mentions_separate_pm_plugin') ? _agent.agentMentionPluginKey.getState(editorState) : undefined;
290
+ var agentMentionPluginState = _agent.agentMentionPluginKey.getState(editorState);
291
291
  // Exclude pendingPastedAgentMention — it is an @internal transient field and
292
292
  // should not be part of the public shared state API. Exposing it would cause
293
293
  // unnecessary re-renders in subscribers and leak implementation details.