@atlaskit/editor-core 187.17.3 → 187.17.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/.eslintrc.js CHANGED
@@ -19,11 +19,6 @@ module.exports = {
19
19
  ],
20
20
  },
21
21
  ],
22
- 'react/no-danger': 'error',
23
- '@typescript-eslint/consistent-type-imports': 'warn',
24
- 'no-duplicate-imports': 'off',
25
- '@typescript-eslint/no-duplicate-imports': 'warn',
26
- '@typescript-eslint/no-explicit-any': 'warn',
27
22
  },
28
23
  overrides: [
29
24
  {
@@ -34,7 +29,6 @@ module.exports = {
34
29
  ],
35
30
  rules: {
36
31
  'import/no-restricted-paths': ['off'],
37
- 'react/no-danger': 'off',
38
32
  },
39
33
  },
40
34
  ],
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 187.17.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`c1e5a879e02`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c1e5a879e02) - [ED-17979] Remove the ability to clear formatting when selection is within a codeblock
8
+
3
9
  ## 187.17.3
4
10
 
5
11
  ### Patch Changes
@@ -10,7 +10,7 @@ var _cellSelection = require("@atlaskit/editor-tables/cell-selection");
10
10
  var _transform = require("@atlaskit/editor-prosemirror/transform");
11
11
  var _analytics = require("@atlaskit/editor-common/analytics");
12
12
  var _cellSelection2 = require("../utils/cell-selection");
13
- var FORMATTING_NODE_TYPES = ['heading', 'codeBlock', 'blockquote'];
13
+ var FORMATTING_NODE_TYPES = ['heading', 'blockquote'];
14
14
  exports.FORMATTING_NODE_TYPES = FORMATTING_NODE_TYPES;
15
15
  var FORMATTING_MARK_TYPES = ['em', 'code', 'strike', 'strong', 'underline', 'textColor', 'subsup'];
16
16
  exports.FORMATTING_MARK_TYPES = FORMATTING_MARK_TYPES;
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.nextMajorVersion = exports.name = void 0;
7
7
  var name = "@atlaskit/editor-core";
8
8
  exports.name = name;
9
- var version = "187.17.3";
9
+ var version = "187.17.5";
10
10
  exports.version = version;
11
11
  var nextMajorVersion = function nextMajorVersion() {
12
12
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "187.17.3",
3
+ "version": "187.17.5",
4
4
  "sideEffects": false
5
5
  }
@@ -2,7 +2,7 @@ import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
2
2
  import { liftTarget } from '@atlaskit/editor-prosemirror/transform';
3
3
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
4
4
  import { cellSelectionNodesBetween } from '../utils/cell-selection';
5
- export const FORMATTING_NODE_TYPES = ['heading', 'codeBlock', 'blockquote'];
5
+ export const FORMATTING_NODE_TYPES = ['heading', 'blockquote'];
6
6
  export const FORMATTING_MARK_TYPES = ['em', 'code', 'strike', 'strong', 'underline', 'textColor', 'subsup'];
7
7
  const formatTypes = {
8
8
  em: ACTION_SUBJECT_ID.FORMAT_ITALIC,
@@ -1,5 +1,5 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "187.17.3";
2
+ export const version = "187.17.5";
3
3
  export const nextMajorVersion = () => {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "187.17.3",
3
+ "version": "187.17.5",
4
4
  "sideEffects": false
5
5
  }
@@ -2,7 +2,7 @@ import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
2
2
  import { liftTarget } from '@atlaskit/editor-prosemirror/transform';
3
3
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
4
4
  import { cellSelectionNodesBetween } from '../utils/cell-selection';
5
- export var FORMATTING_NODE_TYPES = ['heading', 'codeBlock', 'blockquote'];
5
+ export var FORMATTING_NODE_TYPES = ['heading', 'blockquote'];
6
6
  export var FORMATTING_MARK_TYPES = ['em', 'code', 'strike', 'strong', 'underline', 'textColor', 'subsup'];
7
7
  var formatTypes = {
8
8
  em: ACTION_SUBJECT_ID.FORMAT_ITALIC,
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "187.17.3";
2
+ export var version = "187.17.5";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "187.17.3",
3
+ "version": "187.17.5",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "187.17.3",
3
+ "version": "187.17.5",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"