@sereneinserenade/tiptap-comment-extension
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "@sereneinserenade/tiptap-comment-extension", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Tiptap Extension for adding comments", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -47,5 +47,4 @@ import { Mark, mergeAttributes, Range } from "@tiptap/core"; | ||
default: null, | ||
parseHTML: (el) => | ||
(el as HTMLSpanElement).getAttribute("data-comment-id"), | ||
renderHTML: (attrs) => ({ "data-comment-id": attrs.comment }), | ||
parseHTML: (el) => (el as HTMLSpanElement).getAttribute("data-comment-id"), | ||
renderHTML: (attrs) => ({ "data-comment-id": attrs.commentId }), | ||
}, | ||
@@ -52,0 +51,0 @@ }; |
14522
15
376