New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sereneinserenade/tiptap-comment-extension

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sereneinserenade/tiptap-comment-extension - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "@sereneinserenade/tiptap-comment-extension",
"version": "0.1.1",
"version": "0.1.2",
"description": "Tiptap Extension for adding comments",

@@ -5,0 +5,0 @@ "keywords": [

@@ -31,4 +31,8 @@ # Tiptap Comment Extension:

import StarterKit from "@tiptap/starter-kit";
import Comment from "@sereneinserenade/tiptap-comment-extension";
import CommentExtension from "@sereneinserenade/tiptap-comment-extension";
/* or
import { CommentExtension } from "@sereneinserenade/tiptap-comment-extension";
*/
const extensions = [

@@ -35,0 +39,0 @@ StarterKit,

@@ -47,3 +47,4 @@ import { Mark, mergeAttributes, Range } from "@tiptap/core";

default: null,
parseHTML: (el) => (el as HTMLSpanElement).getAttribute("data-comment-id"),
parseHTML: (el) =>
(el as HTMLSpanElement).getAttribute("data-comment-id"),
renderHTML: (attrs) => ({ "data-comment-id": attrs.commentId }),

@@ -119,3 +120,3 @@ },

mark.type.name === "comment" &&
mark.attrs.commentId === commentId
mark.attrs.commentId === commentId,
);

@@ -122,0 +123,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc