Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@tiptap/extension-font-family

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-font-family - npm Package Compare versions

Comparing version 2.5.0-beta.0 to 2.5.0-beta.1

@@ -28,3 +28,3 @@ import '@tiptap/extension-text-style';

return {
style: `font-family: ${attributes.fontFamily.split(',').map((fontFamily) => CSS.escape(fontFamily.trim())).join(', ')}`,
style: `font-family: ${attributes.fontFamily}`,
};

@@ -31,0 +31,0 @@ },

@@ -31,3 +31,3 @@ (function (global, factory) {

return {
style: `font-family: ${attributes.fontFamily.split(',').map((fontFamily) => CSS.escape(fontFamily.trim())).join(', ')}`,
style: `font-family: ${attributes.fontFamily}`,
};

@@ -34,0 +34,0 @@ },

{
"name": "@tiptap/extension-font-family",
"description": "font family extension for tiptap",
"version": "2.5.0-beta.0",
"version": "2.5.0-beta.1",
"homepage": "https://tiptap.dev",

@@ -32,4 +32,4 @@ "keywords": [

"devDependencies": {
"@tiptap/core": "^2.5.0-beta.0",
"@tiptap/extension-text-style": "^2.5.0-beta.0"
"@tiptap/core": "^2.5.0-beta.1",
"@tiptap/extension-text-style": "^2.5.0-beta.1"
},

@@ -36,0 +36,0 @@ "peerDependencies": {

@@ -59,3 +59,3 @@ import '@tiptap/extension-text-style'

return {
style: `font-family: ${attributes.fontFamily.split(',').map((fontFamily: string) => CSS.escape(fontFamily.trim())).join(', ')}`,
style: `font-family: ${attributes.fontFamily}`,
}

@@ -62,0 +62,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet