@tiptap/extension-font-family
Advanced tools
Comparing version 2.0.0-beta.12 to 2.0.0-beta.13
@@ -6,2 +6,10 @@ # Change Log | ||
# [2.0.0-beta.13](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-font-family@2.0.0-beta.12...@tiptap/extension-font-family@2.0.0-beta.13) (2021-06-07) | ||
**Note:** Version bump only for package @tiptap/extension-font-family | ||
# [2.0.0-beta.12](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-font-family@2.0.0-beta.11...@tiptap/extension-font-family@2.0.0-beta.12) (2021-05-18) | ||
@@ -8,0 +16,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Command, Extension } from '@tiptap/core'; | ||
import { Extension } from '@tiptap/core'; | ||
import '@tiptap/extension-text-style'; | ||
@@ -7,3 +7,3 @@ declare type FontFamilyOptions = { | ||
declare module '@tiptap/core' { | ||
interface Commands { | ||
interface Commands<ReturnType> { | ||
fontFamily: { | ||
@@ -13,7 +13,7 @@ /** | ||
*/ | ||
setFontFamily: (fontFamily: string) => Command; | ||
setFontFamily: (fontFamily: string) => ReturnType; | ||
/** | ||
* Unset the font family | ||
*/ | ||
unsetFontFamily: () => Command; | ||
unsetFontFamily: () => ReturnType; | ||
}; | ||
@@ -20,0 +20,0 @@ } |
{ | ||
"name": "@tiptap/extension-font-family", | ||
"description": "font family extension for tiptap", | ||
"version": "2.0.0-beta.12", | ||
"version": "2.0.0-beta.13", | ||
"homepage": "https://tiptap.dev", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "6b154e4c8161fbba987e162ebebc155243432f24" | ||
"gitHead": "5c8e46b0d48aa09ba0d2e8337ae6bbb2d7503e82" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { Command, Extension } from '@tiptap/core' | ||
import { Extension } from '@tiptap/core' | ||
import '@tiptap/extension-text-style' | ||
@@ -9,3 +9,3 @@ | ||
declare module '@tiptap/core' { | ||
interface Commands { | ||
interface Commands<ReturnType> { | ||
fontFamily: { | ||
@@ -15,7 +15,7 @@ /** | ||
*/ | ||
setFontFamily: (fontFamily: string) => Command, | ||
setFontFamily: (fontFamily: string) => ReturnType, | ||
/** | ||
* Unset the font family | ||
*/ | ||
unsetFontFamily: () => Command, | ||
unsetFontFamily: () => ReturnType, | ||
} | ||
@@ -22,0 +22,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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25356