@cocreate/crdt
Advanced tools
Comparing version 1.1.22 to 1.2.0
@@ -0,1 +1,8 @@ | ||
# [1.2.0](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.1.22...v1.2.0) (2021-07-28) | ||
### Features | ||
* add new is{attribute} system and remove data- from attributtes ([56c3f05](https://github.com/CoCreate-app/CoCreate-crdt/commit/56c3f05958bf002575a606ecdedb6722e558d7ec)) | ||
## [1.1.22](https://github.com/CoCreate-app/CoCreate-crdt/compare/v1.1.21...v1.1.22) (2021-07-17) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@cocreate/crdt", | ||
"version": "1.1.22", | ||
"version": "1.2.0", | ||
"description": "CoCreate crdt", | ||
@@ -5,0 +5,0 @@ "author": "CoCreate LLC", |
@@ -316,6 +316,6 @@ import * as Y from 'yjs' | ||
//CoCreate.cursors.draw_cursor(1,11,12,66,{},true); | ||
console.log("PRE Draw Cursor ") | ||
console.log("anchor ",anchor , " head ",head,' Type ',type) | ||
console.log("anchor Type",anchor.type === type) | ||
console.log("anchor Type",head.type === type) | ||
//console.log("PRE Draw Cursor ") | ||
//console.log("anchor ",anchor , " head ",head,' Type ',type) | ||
//console.log("anchor Type",anchor.type === type) | ||
//console.log("anchor Type",head.type === type) | ||
//if (anchor !== null && head !== null && anchor.type === type && head.type === type) { | ||
@@ -336,3 +336,3 @@ if (anchor !== null && head !== null ) { | ||
let json = {}; | ||
let selector = '[data-collection="'+t_info.collection+'"][data-document_id="'+t_info.document_id+'"][name="'+t_info.name+'"]' | ||
let selector = '[collection="'+t_info.collection+'"][document_id="'+t_info.document_id+'"][name="'+t_info.name+'"]' | ||
selector += ':not(.codemirror):not(.quill):not(.monaco)'; | ||
@@ -339,0 +339,0 @@ let elements = document.querySelectorAll(selector); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
104812