@atlaskit/editor-plugin-mentions 18.2.8 → 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.
@@ -135,7 +135,7 @@ var mentionsPlugin = function mentionsPlugin(_ref3) {
135
135
  });
136
136
  }
137
137
  }];
138
- if (editorExperiment('platform_editor_agent_mentions', true) && isExperimentEnabled('platform_editor_agent_mentions_separate_pm_plugin')) {
138
+ if (editorExperiment('platform_editor_agent_mentions', true)) {
139
139
  plugins.push({
140
140
  name: 'agentMention',
141
141
  plugin: function plugin(pmPluginFactoryParams) {
@@ -279,7 +279,7 @@ var mentionsPlugin = function mentionsPlugin(_ref3) {
279
279
  return undefined;
280
280
  }
281
281
  var mentionPluginState = mentionPluginKey.getState(editorState);
282
- var agentMentionPluginState = isExperimentEnabled('platform_editor_agent_mentions_separate_pm_plugin') ? agentMentionPluginKey.getState(editorState) : undefined;
282
+ var agentMentionPluginState = agentMentionPluginKey.getState(editorState);
283
283
  // Exclude pendingPastedAgentMention — it is an @internal transient field and
284
284
  // should not be part of the public shared state API. Exposing it would cause
285
285
  // unnecessary re-renders in subscribers and leak implementation details.