@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.
- package/CHANGELOG.md +8 -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 +4 -4
|
@@ -135,7 +135,7 @@ var mentionsPlugin = function mentionsPlugin(_ref3) {
|
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
137
|
}];
|
|
138
|
-
if (editorExperiment('platform_editor_agent_mentions', true)
|
|
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 =
|
|
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.
|