@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 +14 -0
- package/dist/cjs/mentionsPlugin.js +2 -2
- package/dist/cjs/pm-plugins/main.js +10 -808
- package/dist/es2019/mentionsPlugin.js +2 -2
- package/dist/es2019/pm-plugins/main.js +3 -772
- package/dist/esm/mentionsPlugin.js +2 -2
- package/dist/esm/pm-plugins/main.js +11 -808
- package/dist/types/pm-plugins/main.d.ts +0 -15
- package/package.json +6 -6
|
@@ -137,7 +137,7 @@ const mentionsPlugin = ({
|
|
|
137
137
|
api
|
|
138
138
|
})
|
|
139
139
|
}];
|
|
140
|
-
if (editorExperiment('platform_editor_agent_mentions', true)
|
|
140
|
+
if (editorExperiment('platform_editor_agent_mentions', true)) {
|
|
141
141
|
plugins.push({
|
|
142
142
|
name: 'agentMention',
|
|
143
143
|
plugin: pmPluginFactoryParams => createAgentMentionPlugin({
|
|
@@ -257,7 +257,7 @@ const mentionsPlugin = ({
|
|
|
257
257
|
return undefined;
|
|
258
258
|
}
|
|
259
259
|
const mentionPluginState = mentionPluginKey.getState(editorState);
|
|
260
|
-
const agentMentionPluginState =
|
|
260
|
+
const agentMentionPluginState = agentMentionPluginKey.getState(editorState);
|
|
261
261
|
// Exclude pendingPastedAgentMention — it is an @internal transient field and
|
|
262
262
|
// should not be part of the public shared state API. Exposing it would cause
|
|
263
263
|
// unnecessary re-renders in subscribers and leak implementation details.
|