@atlaskit/adf-schema
Advanced tools
Comparing version 2.11.2 to 2.11.3
# @atlaskit/adf-schema | ||
## 2.11.3 | ||
### Patch Changes | ||
- [patch][4aed452b1b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4aed452b1b): | ||
ED-7041, SL-231: fix copying smart link from renderer to editor | ||
## 2.11.2 | ||
@@ -4,0 +12,0 @@ |
@@ -23,2 +23,13 @@ export var blockCard = { | ||
}, | ||
{ | ||
tag: 'div[data-block-card]', | ||
getAttrs: function (dom) { | ||
var anchor = dom; | ||
var data = anchor.getAttribute('data-card-data'); | ||
return { | ||
url: anchor.getAttribute('data-card-url'), | ||
data: data ? JSON.parse(data) : null, | ||
}; | ||
}, | ||
}, | ||
], | ||
@@ -25,0 +36,0 @@ toDOM: function (node) { |
@@ -24,2 +24,14 @@ export var inlineCard = { | ||
}, | ||
// for renderer | ||
{ | ||
tag: 'div[data-inline-card]', | ||
getAttrs: function (dom) { | ||
var anchor = dom; | ||
var data = anchor.getAttribute('data-card-data'); | ||
return { | ||
url: anchor.getAttribute('data-card-url'), | ||
data: data ? JSON.parse(data) : null, | ||
}; | ||
}, | ||
}, | ||
], | ||
@@ -26,0 +38,0 @@ toDOM: function (node) { |
@@ -25,2 +25,13 @@ "use strict"; | ||
}, | ||
{ | ||
tag: 'div[data-block-card]', | ||
getAttrs: function (dom) { | ||
var anchor = dom; | ||
var data = anchor.getAttribute('data-card-data'); | ||
return { | ||
url: anchor.getAttribute('data-card-url'), | ||
data: data ? JSON.parse(data) : null, | ||
}; | ||
}, | ||
}, | ||
], | ||
@@ -27,0 +38,0 @@ toDOM: function (node) { |
@@ -26,2 +26,14 @@ "use strict"; | ||
}, | ||
// for renderer | ||
{ | ||
tag: 'div[data-inline-card]', | ||
getAttrs: function (dom) { | ||
var anchor = dom; | ||
var data = anchor.getAttribute('data-card-data'); | ||
return { | ||
url: anchor.getAttribute('data-card-url'), | ||
data: data ? JSON.parse(data) : null, | ||
}; | ||
}, | ||
}, | ||
], | ||
@@ -28,0 +40,0 @@ toDOM: function (node) { |
{ | ||
"name": "@atlaskit/adf-schema", | ||
"version": "2.11.1", | ||
"version": "2.11.2", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/adf-schema", | ||
"version": "2.11.2", | ||
"version": "2.11.3", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/adf-schema", | ||
"version": "2.11.2", | ||
"version": "2.11.3", | ||
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
{ | ||
"name": "@atlaskit/adf-schema", | ||
"version": "2.11.2", | ||
"version": "2.11.3", | ||
"sideEffects": false | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
733159
19321