@atlaskit/editor-plugin-base 7.2.7 → 7.2.8

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,13 @@
1
1
  # @atlaskit/editor-plugin-base
2
2
 
3
+ ## 7.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`8cf337169ee4b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8cf337169ee4b) -
8
+ Remove the jira advanced code blocks experiment
9
+ - Updated dependencies
10
+
3
11
  ## 7.2.7
4
12
 
5
13
  ### Patch Changes
@@ -11,8 +11,6 @@ var _adfSchema = require("@atlaskit/adf-schema");
11
11
  var _keymaps = require("@atlaskit/editor-common/keymaps");
12
12
  var _commands = require("@atlaskit/editor-prosemirror/commands");
13
13
  var _prosemirrorHistory = require("@atlaskit/prosemirror-history");
14
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
15
- var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
16
14
  var _setKeyboardHeight = require("./editor-commands/set-keyboard-height");
17
15
  var _disableSpellChecking = _interopRequireDefault(require("./pm-plugins/disable-spell-checking"));
18
16
  var _filterSteps = _interopRequireDefault(require("./pm-plugins/filter-steps"));
@@ -105,16 +103,12 @@ var basePlugin = function basePlugin(_ref) {
105
103
  return (0, _filterSteps.default)(dispatchAnalyticsEvent);
106
104
  }
107
105
  }];
108
- if ((0, _experiments.editorExperiment)('platform_editor_exp_lazy_node_views', true, {
109
- exposure: true
110
- }) || (0, _expValEquals.expValEquals)('platform_editor_jira_advanced_code_blocks', 'isEnabled', true)) {
111
- plugins.push({
112
- name: 'lazyNodeViewDecorationsPlugin',
113
- plugin: function plugin() {
114
- return (0, _lazyNodeViewDecoration.createLazyNodeViewDecorationPlugin)();
115
- }
116
- });
117
- }
106
+ plugins.push({
107
+ name: 'lazyNodeViewDecorationsPlugin',
108
+ plugin: function plugin() {
109
+ return (0, _lazyNodeViewDecoration.createLazyNodeViewDecorationPlugin)();
110
+ }
111
+ });
118
112
 
119
113
  // In Chrome, when the selection is placed between adjacent nodes which are not contenteditatble
120
114
  // the cursor appears at the right most point of the parent container.
@@ -2,8 +2,6 @@ import { doc, paragraph, text } from '@atlaskit/adf-schema';
2
2
  import { keymap } from '@atlaskit/editor-common/keymaps';
3
3
  import { baseKeymap } from '@atlaskit/editor-prosemirror/commands';
4
4
  import { history } from '@atlaskit/prosemirror-history';
5
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
6
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
7
5
  import { setKeyboardHeight } from './editor-commands/set-keyboard-height';
8
6
  import disableSpellcheckingPlugin from './pm-plugins/disable-spell-checking';
9
7
  import filterStepsPlugin from './pm-plugins/filter-steps';
@@ -99,14 +97,10 @@ const basePlugin = ({
99
97
  dispatchAnalyticsEvent
100
98
  }) => filterStepsPlugin(dispatchAnalyticsEvent)
101
99
  }];
102
- if (editorExperiment('platform_editor_exp_lazy_node_views', true, {
103
- exposure: true
104
- }) || expValEquals('platform_editor_jira_advanced_code_blocks', 'isEnabled', true)) {
105
- plugins.push({
106
- name: 'lazyNodeViewDecorationsPlugin',
107
- plugin: () => createLazyNodeViewDecorationPlugin()
108
- });
109
- }
100
+ plugins.push({
101
+ name: 'lazyNodeViewDecorationsPlugin',
102
+ plugin: () => createLazyNodeViewDecorationPlugin()
103
+ });
110
104
 
111
105
  // In Chrome, when the selection is placed between adjacent nodes which are not contenteditatble
112
106
  // the cursor appears at the right most point of the parent container.
@@ -5,8 +5,6 @@ import { doc, paragraph, text } from '@atlaskit/adf-schema';
5
5
  import { keymap } from '@atlaskit/editor-common/keymaps';
6
6
  import { baseKeymap } from '@atlaskit/editor-prosemirror/commands';
7
7
  import { history } from '@atlaskit/prosemirror-history';
8
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
9
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
10
8
  import { setKeyboardHeight } from './editor-commands/set-keyboard-height';
11
9
  import disableSpellcheckingPlugin from './pm-plugins/disable-spell-checking';
12
10
  import filterStepsPlugin from './pm-plugins/filter-steps';
@@ -97,16 +95,12 @@ var basePlugin = function basePlugin(_ref) {
97
95
  return filterStepsPlugin(dispatchAnalyticsEvent);
98
96
  }
99
97
  }];
100
- if (editorExperiment('platform_editor_exp_lazy_node_views', true, {
101
- exposure: true
102
- }) || expValEquals('platform_editor_jira_advanced_code_blocks', 'isEnabled', true)) {
103
- plugins.push({
104
- name: 'lazyNodeViewDecorationsPlugin',
105
- plugin: function plugin() {
106
- return createLazyNodeViewDecorationPlugin();
107
- }
108
- });
109
- }
98
+ plugins.push({
99
+ name: 'lazyNodeViewDecorationsPlugin',
100
+ plugin: function plugin() {
101
+ return createLazyNodeViewDecorationPlugin();
102
+ }
103
+ });
110
104
 
111
105
  // In Chrome, when the selection is placed between adjacent nodes which are not contenteditatble
112
106
  // the cursor appears at the right most point of the parent container.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-base",
3
- "version": "7.2.7",
3
+ "version": "7.2.8",
4
4
  "description": "Base plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,7 +32,7 @@
32
32
  "@atlaskit/editor-plugin-feature-flags": "^5.0.0",
33
33
  "@atlaskit/editor-prosemirror": "7.0.0",
34
34
  "@atlaskit/prosemirror-history": "^0.2.0",
35
- "@atlaskit/tmp-editor-statsig": "^14.5.0",
35
+ "@atlaskit/tmp-editor-statsig": "^15.0.0",
36
36
  "@babel/runtime": "^7.0.0"
37
37
  },
38
38
  "techstack": {
@@ -74,6 +74,6 @@
74
74
  }
75
75
  },
76
76
  "peerDependencies": {
77
- "@atlaskit/editor-common": "^110.38.0"
77
+ "@atlaskit/editor-common": "^110.40.0"
78
78
  }
79
79
  }