refactor: recreate extension exports
This commit is contained in:
@@ -5,7 +5,7 @@ type FontFamilyOptions = {
|
||||
types: string[],
|
||||
}
|
||||
|
||||
const FontFamily = Extension.create({
|
||||
export const FontFamily = Extension.create({
|
||||
name: 'fontFamily',
|
||||
|
||||
defaultOptions: <FontFamilyOptions>{
|
||||
@@ -60,8 +60,6 @@ const FontFamily = Extension.create({
|
||||
},
|
||||
})
|
||||
|
||||
export default FontFamily
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllExtensions {
|
||||
FontFamily: typeof FontFamily,
|
||||
|
||||
Reference in New Issue
Block a user