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

@tiptap/extension-font-family

Package Overview
Dependencies
Maintainers
2
Versions
164
Alerts
File Explorer

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.0.0-beta.14 to 2.0.0-beta.15

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [2.0.0-beta.15](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-font-family@2.0.0-beta.14...@tiptap/extension-font-family@2.0.0-beta.15) (2021-09-08)
### Features
* parseHTML for attributes should return the value instead of an object now, fix [#1863](https://github.com/ueberdosis/tiptap/issues/1863) ([8a3b47a](https://github.com/ueberdosis/tiptap/commit/8a3b47a529d28b28b50d634c6ff69b8e5aad3080))
# [2.0.0-beta.14](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-font-family@2.0.0-beta.13...@tiptap/extension-font-family@2.0.0-beta.14) (2021-07-26)

@@ -8,0 +19,0 @@

6

dist/tiptap-extension-font-family.cjs.js

@@ -20,2 +20,3 @@ 'use strict';

default: null,
parseHTML: element => element.style.fontFamily.replace(/['"]+/g, ''),
renderHTML: attributes => {

@@ -29,5 +30,2 @@ if (!attributes.fontFamily) {

},
parseHTML: element => ({
fontFamily: element.style.fontFamily.replace(/['"]+/g, ''),
}),
},

@@ -56,3 +54,3 @@ },

exports.FontFamily = FontFamily;
exports.default = FontFamily;
exports['default'] = FontFamily;
//# sourceMappingURL=tiptap-extension-font-family.cjs.js.map

@@ -16,2 +16,3 @@ import { Extension } from '@tiptap/core';

default: null,
parseHTML: element => element.style.fontFamily.replace(/['"]+/g, ''),
renderHTML: attributes => {

@@ -25,5 +26,2 @@ if (!attributes.fontFamily) {

},
parseHTML: element => ({
fontFamily: element.style.fontFamily.replace(/['"]+/g, ''),
}),
},

@@ -51,4 +49,3 @@ },

export default FontFamily;
export { FontFamily };
export { FontFamily, FontFamily as default };
//# sourceMappingURL=tiptap-extension-font-family.esm.js.map

@@ -19,2 +19,3 @@ (function (global, factory) {

default: null,
parseHTML: element => element.style.fontFamily.replace(/['"]+/g, ''),
renderHTML: attributes => {

@@ -28,5 +29,2 @@ if (!attributes.fontFamily) {

},
parseHTML: element => ({
fontFamily: element.style.fontFamily.replace(/['"]+/g, ''),
}),
},

@@ -55,3 +53,3 @@ },

exports.FontFamily = FontFamily;
exports.default = FontFamily;
exports['default'] = FontFamily;

@@ -58,0 +56,0 @@ Object.defineProperty(exports, '__esModule', { value: true });

{
"name": "@tiptap/extension-font-family",
"description": "font family extension for tiptap",
"version": "2.0.0-beta.14",
"version": "2.0.0-beta.15",
"homepage": "https://tiptap.dev",

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

},
"gitHead": "345ea8cf8abba6422dabc6e548594fb8e2c30409"
"gitHead": "42e8755d87b37506d537152dbae4b0c8d497fd48"
}

@@ -37,2 +37,3 @@ import { Extension } from '@tiptap/core'

default: null,
parseHTML: element => element.style.fontFamily.replace(/['"]+/g, ''),
renderHTML: attributes => {

@@ -47,5 +48,2 @@ if (!attributes.fontFamily) {

},
parseHTML: element => ({
fontFamily: element.style.fontFamily.replace(/['"]+/g, ''),
}),
},

@@ -52,0 +50,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

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