@atlaskit/adf-schema
Advanced tools
Comparing version 1.3.0 to 1.3.1
# @atlaskit/adf-schema | ||
## 1.3.1 | ||
- [patch] [7d9ccd7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7d9ccd7): | ||
- fixed copy/paste status from renderer to editor | ||
## 1.3.0 | ||
@@ -4,0 +9,0 @@ - [minor] [cbcac2e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cbcac2e): |
@@ -0,1 +1,2 @@ | ||
import { uuid } from '../../utils/uuid'; | ||
export var status = { | ||
@@ -8,3 +9,3 @@ inline: true, | ||
color: { default: '' }, | ||
localId: { default: '' }, | ||
localId: { default: uuid.generate() }, | ||
style: { default: null }, | ||
@@ -20,3 +21,3 @@ }, | ||
color: dom.getAttribute('data-color'), | ||
localId: dom.getAttribute('data-local-id'), | ||
localId: dom.getAttribute('data-local-id') || uuid.generate(), | ||
style: dom.getAttribute('data-style'), | ||
@@ -23,0 +24,0 @@ }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var uuid_1 = require("../../utils/uuid"); | ||
exports.status = { | ||
@@ -10,3 +11,3 @@ inline: true, | ||
color: { default: '' }, | ||
localId: { default: '' }, | ||
localId: { default: uuid_1.uuid.generate() }, | ||
style: { default: null }, | ||
@@ -22,3 +23,3 @@ }, | ||
color: dom.getAttribute('data-color'), | ||
localId: dom.getAttribute('data-local-id'), | ||
localId: dom.getAttribute('data-local-id') || uuid_1.uuid.generate(), | ||
style: dom.getAttribute('data-style'), | ||
@@ -25,0 +26,0 @@ }; |
{ | ||
"name": "@atlaskit/adf-schema", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/adf-schema", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
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
558324
12975