@atlaskit/editor-plugin-block-type 3.10.0 → 3.10.1

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,14 @@
1
1
  # @atlaskit/editor-plugin-block-type
2
2
 
3
+ ## 3.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#124134](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124134)
8
+ [`60d66d9621cca`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/60d66d9621cca) -
9
+ Removed FF platform.editor.allow-list-in-blockquote
10
+ - Updated dependencies
11
+
3
12
  ## 3.10.0
4
13
 
5
14
  ### Minor Changes
@@ -19,7 +19,6 @@ var _keymaps = require("@atlaskit/editor-common/keymaps");
19
19
  var _messages = require("@atlaskit/editor-common/messages");
20
20
  var _quickInsert = require("@atlaskit/editor-common/quick-insert");
21
21
  var _types = require("@atlaskit/editor-common/types");
22
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
23
22
  var _commands = require("./commands");
24
23
  var _blockType = require("./commands/block-type");
25
24
  var _inputRule = _interopRequireDefault(require("./pm-plugins/input-rule"));
@@ -126,7 +125,7 @@ var blockTypePlugin = exports.blockTypePlugin = function blockTypePlugin(_ref3)
126
125
  return {
127
126
  name: 'blockType',
128
127
  nodes: function nodes() {
129
- var blockquoteNode = (0, _platformFeatureFlags.getBooleanFF)('platform.editor.allow-list-in-blockquote') ? _adfSchema.blockquoteWithList : _adfSchema.blockquote;
128
+ var blockquoteNode = _adfSchema.blockquoteWithList;
130
129
  var nodes = [{
131
130
  name: 'heading',
132
131
  node: _adfSchema.heading
@@ -1,11 +1,10 @@
1
1
  import React from 'react';
2
- import { blockquote, blockquoteWithList, hardBreak, heading } from '@atlaskit/adf-schema';
2
+ import { blockquoteWithList, hardBreak, heading } from '@atlaskit/adf-schema';
3
3
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { keymap, tooltip } from '@atlaskit/editor-common/keymaps';
5
5
  import { blockTypeMessages as messages } from '@atlaskit/editor-common/messages';
6
6
  import { IconHeading, IconQuote } from '@atlaskit/editor-common/quick-insert';
7
7
  import { ToolbarSize } from '@atlaskit/editor-common/types';
8
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
9
8
  import { setBlockTypeWithAnalytics } from './commands';
10
9
  import { insertBlockQuoteWithAnalytics } from './commands/block-type';
11
10
  import inputRulePlugin from './pm-plugins/input-rule';
@@ -112,7 +111,7 @@ const blockTypePlugin = ({
112
111
  return {
113
112
  name: 'blockType',
114
113
  nodes() {
115
- const blockquoteNode = getBooleanFF('platform.editor.allow-list-in-blockquote') ? blockquoteWithList : blockquote;
114
+ const blockquoteNode = blockquoteWithList;
116
115
  const nodes = [{
117
116
  name: 'heading',
118
117
  node: heading
@@ -1,12 +1,11 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  import React from 'react';
3
- import { blockquote, blockquoteWithList, hardBreak, heading } from '@atlaskit/adf-schema';
3
+ import { blockquoteWithList, hardBreak, heading } from '@atlaskit/adf-schema';
4
4
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
5
5
  import { keymap, tooltip } from '@atlaskit/editor-common/keymaps';
6
6
  import { blockTypeMessages as messages } from '@atlaskit/editor-common/messages';
7
7
  import { IconHeading, IconQuote } from '@atlaskit/editor-common/quick-insert';
8
8
  import { ToolbarSize } from '@atlaskit/editor-common/types';
9
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
10
9
  import { setBlockTypeWithAnalytics } from './commands';
11
10
  import { insertBlockQuoteWithAnalytics } from './commands/block-type';
12
11
  import inputRulePlugin from './pm-plugins/input-rule';
@@ -113,7 +112,7 @@ var blockTypePlugin = function blockTypePlugin(_ref3) {
113
112
  return {
114
113
  name: 'blockType',
115
114
  nodes: function nodes() {
116
- var blockquoteNode = getBooleanFF('platform.editor.allow-list-in-blockquote') ? blockquoteWithList : blockquote;
115
+ var blockquoteNode = blockquoteWithList;
117
116
  var nodes = [{
118
117
  name: 'heading',
119
118
  node: heading
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-type",
3
- "version": "3.10.0",
3
+ "version": "3.10.1",
4
4
  "description": "BlockType plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,14 +36,13 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@atlaskit/adf-schema": "^40.3.0",
39
- "@atlaskit/editor-common": "^86.8.0",
39
+ "@atlaskit/editor-common": "^87.0.0",
40
40
  "@atlaskit/editor-plugin-analytics": "^1.6.0",
41
41
  "@atlaskit/editor-plugin-primary-toolbar": "^1.3.0",
42
42
  "@atlaskit/editor-prosemirror": "5.0.1",
43
43
  "@atlaskit/editor-shared-styles": "^2.13.0",
44
44
  "@atlaskit/editor-tables": "^2.8.0",
45
45
  "@atlaskit/icon": "^22.7.0",
46
- "@atlaskit/platform-feature-flags": "^0.3.0",
47
46
  "@atlaskit/prosemirror-input-rules": "^3.2.0",
48
47
  "@atlaskit/theme": "^12.11.0",
49
48
  "@atlaskit/tokens": "^1.56.0",
@@ -100,10 +99,5 @@
100
99
  "import-no-extraneous-disable-for-examples-and-docs"
101
100
  ]
102
101
  }
103
- },
104
- "platform-feature-flags": {
105
- "platform.editor.allow-list-in-blockquote": {
106
- "type": "boolean"
107
- }
108
102
  }
109
103
  }