@atlaskit/adf-schema 36.9.2 → 36.10.0

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/adf-schema
2
2
 
3
+ ## 36.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4cdf270: [ED-23332] Exclude other `color` group marks from the `backgroundColor` mark
8
+
3
9
  ## 36.9.2
4
10
 
5
11
  ### Patch Changes
@@ -43,6 +43,7 @@ var backgroundColor = exports.backgroundColor = {
43
43
  },
44
44
  inclusive: true,
45
45
  group: _groups.COLOR,
46
+ excludes: "".concat(_groups.COLOR),
46
47
  parseDOM: [{
47
48
  style: 'background-color',
48
49
  getAttrs: function getAttrs(maybeValue) {
@@ -30,6 +30,7 @@ export const backgroundColor = {
30
30
  },
31
31
  inclusive: true,
32
32
  group: COLOR,
33
+ excludes: `${COLOR}`,
33
34
  parseDOM: [{
34
35
  style: 'background-color',
35
36
  getAttrs: maybeValue => {
@@ -37,6 +37,7 @@ export var backgroundColor = {
37
37
  },
38
38
  inclusive: true,
39
39
  group: COLOR,
40
+ excludes: "".concat(COLOR),
40
41
  parseDOM: [{
41
42
  style: 'background-color',
42
43
  getAttrs: function getAttrs(maybeValue) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "36.9.2",
3
+ "version": "36.10.0",
4
4
  "description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"