@atlaskit/editor-plugin-hyperlink 0.5.4 → 0.5.5

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,11 @@
1
1
  # @atlaskit/editor-plugin-hyperlink
2
2
 
3
+ ## 0.5.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#42680](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42680) [`1174ff1745b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1174ff1745b) - Cleans up ff platform.linking-platform.editor.fix-link-insert-analytics. No expected functional changes.
8
+
3
9
  ## 0.5.4
4
10
 
5
11
  ### Patch Changes
@@ -20,7 +20,6 @@ var _editorAnalytics = require("@atlaskit/editor-common/editor-analytics");
20
20
  var _link = require("@atlaskit/editor-common/link");
21
21
  var _utils = require("@atlaskit/editor-common/utils");
22
22
  var _state = require("@atlaskit/editor-prosemirror/state");
23
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
24
23
  var _main = require("./pm-plugins/main");
25
24
  var _toolbarButtons = require("./pm-plugins/toolbar-buttons");
26
25
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -125,7 +124,7 @@ function insertLink(from, to, incomingHref, incomingTitle, displayText, source,
125
124
  sourceEvent: sourceEvent
126
125
  });
127
126
  }
128
- } else if ((0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.editor.fix-link-insert-analytics')) {
127
+ } else {
129
128
  /**
130
129
  * Add link metadata because queue cards would have otherwise handled this for us
131
130
  */
@@ -4,7 +4,6 @@ import { withAnalytics } from '@atlaskit/editor-common/editor-analytics';
4
4
  import { isTextAtPos, LinkAction } from '@atlaskit/editor-common/link';
5
5
  import { filterCommand as filter, getLinkCreationAnalyticsEvent, normalizeUrl } from '@atlaskit/editor-common/utils';
6
6
  import { Selection } from '@atlaskit/editor-prosemirror/state';
7
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
8
7
  import { stateKey } from './pm-plugins/main';
9
8
  import { toolbarKey } from './pm-plugins/toolbar-buttons';
10
9
  export function setLinkHref(href, pos, editorAnalyticsApi, to, isTabPressed) {
@@ -111,7 +110,7 @@ export function insertLink(from, to, incomingHref, incomingTitle, displayText, s
111
110
  sourceEvent
112
111
  });
113
112
  }
114
- } else if (getBooleanFF('platform.linking-platform.editor.fix-link-insert-analytics')) {
113
+ } else {
115
114
  /**
116
115
  * Add link metadata because queue cards would have otherwise handled this for us
117
116
  */
@@ -7,7 +7,6 @@ import { withAnalytics } from '@atlaskit/editor-common/editor-analytics';
7
7
  import { isTextAtPos, LinkAction } from '@atlaskit/editor-common/link';
8
8
  import { filterCommand as filter, getLinkCreationAnalyticsEvent, normalizeUrl } from '@atlaskit/editor-common/utils';
9
9
  import { Selection } from '@atlaskit/editor-prosemirror/state';
10
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
11
10
  import { stateKey } from './pm-plugins/main';
12
11
  import { toolbarKey } from './pm-plugins/toolbar-buttons';
13
12
  export function setLinkHref(href, pos, editorAnalyticsApi, to, isTabPressed) {
@@ -110,7 +109,7 @@ export function insertLink(from, to, incomingHref, incomingTitle, displayText, s
110
109
  sourceEvent: sourceEvent
111
110
  });
112
111
  }
113
- } else if (getBooleanFF('platform.linking-platform.editor.fix-link-insert-analytics')) {
112
+ } else {
114
113
  /**
115
114
  * Add link metadata because queue cards would have otherwise handled this for us
116
115
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-hyperlink",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "Hyperlink plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,12 +33,11 @@
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^32.0.0",
35
35
  "@atlaskit/analytics-next": "^9.1.0",
36
- "@atlaskit/editor-common": "^76.17.0",
36
+ "@atlaskit/editor-common": "^76.18.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^0.3.0",
38
38
  "@atlaskit/editor-plugin-feature-flags": "^1.0.0",
39
39
  "@atlaskit/editor-prosemirror": "1.1.0",
40
40
  "@atlaskit/icon": "^21.12.0",
41
- "@atlaskit/platform-feature-flags": "^0.2.0",
42
41
  "@atlaskit/prosemirror-input-rules": "^2.4.0",
43
42
  "@babel/runtime": "^7.0.0",
44
43
  "uuid": "^3.1.0"
@@ -95,9 +94,5 @@
95
94
  }
96
95
  },
97
96
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
98
- "platform-feature-flags": {
99
- "platform.linking-platform.editor.fix-link-insert-analytics": {
100
- "type": "boolean"
101
- }
102
- }
97
+ "platform-feature-flags": {}
103
98
  }