@atlaskit/editor-plugin-mentions 2.11.2 → 2.11.3

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,17 @@
1
1
  # @atlaskit/editor-plugin-mentions
2
2
 
3
+ ## 2.11.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#100411](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100411)
8
+ [`14499ab145534`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14499ab145534) -
9
+ [ux] Introduces advanced code block as per:
10
+ https://hello.atlassian.net/wiki/spaces/EDITOR/pages/4632293323/Editor+RFC+063+Advanced+code+blocks.
11
+ This can be added to an existing editor preset to enrich the code block experience with syntax
12
+ highlighting and can be extended for other features via CodeMirror extensions (ie. autocompletion,
13
+ code folding etc.).
14
+
3
15
  ## 2.11.2
4
16
 
5
17
  ### Patch Changes
@@ -24,7 +24,7 @@ var ACTIONS = exports.ACTIONS = {
24
24
  SET_PROVIDER: 'SET_PROVIDER'
25
25
  };
26
26
  var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
27
- var PACKAGE_VERSION = "2.11.2";
27
+ var PACKAGE_VERSION = "2.11.3";
28
28
  var setProvider = function setProvider(provider) {
29
29
  return function (state, dispatch) {
30
30
  if (dispatch) {
@@ -13,7 +13,7 @@ export const ACTIONS = {
13
13
  SET_PROVIDER: 'SET_PROVIDER'
14
14
  };
15
15
  const PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
16
- const PACKAGE_VERSION = "2.11.2";
16
+ const PACKAGE_VERSION = "2.11.3";
17
17
  const setProvider = provider => (state, dispatch) => {
18
18
  if (dispatch) {
19
19
  dispatch(state.tr.setMeta(mentionPluginKey, {
@@ -332,14 +332,14 @@ export const createTypeAheadConfig = ({
332
332
  handleMentionsChanged([{
333
333
  type: 'added',
334
334
  localId: mentionLocalId,
335
- id: id,
335
+ id,
336
336
  taskLocalId: taskItemId
337
337
  }]);
338
338
  } else {
339
339
  handleMentionsChanged([{
340
340
  type: 'added',
341
341
  localId: mentionLocalId,
342
- id: id
342
+ id
343
343
  }]);
344
344
  }
345
345
  }
@@ -16,7 +16,7 @@ export var ACTIONS = {
16
16
  SET_PROVIDER: 'SET_PROVIDER'
17
17
  };
18
18
  var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
19
- var PACKAGE_VERSION = "2.11.2";
19
+ var PACKAGE_VERSION = "2.11.3";
20
20
  var setProvider = function setProvider(provider) {
21
21
  return function (state, dispatch) {
22
22
  if (dispatch) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-mentions",
3
- "version": "2.11.2",
3
+ "version": "2.11.3",
4
4
  "description": "Mentions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",