@linalgo/annotate-core
Advanced tools
Comparing version 0.0.10 to 0.0.11
{ | ||
"name": "@linalgo/annotate-core", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "A library for html document annotations following W3C standards.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -106,3 +106,4 @@ import * as uuid from 'uuid'; | ||
newNode.setAttribute('annotation', annotation.id); | ||
newNode.style.backgroundColor = `#${this.colorSchema[annotation.entity]}`; | ||
newNode.setAttribute('entity', annotation.entity); | ||
// newNode.setAttribute('color', `#${this.colorSchema[annotation.entity]}`); | ||
subRange.surroundContents(newNode); | ||
@@ -109,0 +110,0 @@ newNodes.push(newNode); |
Sorry, the diff of this file is too big to display
2401444
1435