build: try to get demos working again

This commit is contained in:
Nick the Sick 2024-07-15 11:46:15 +02:00
parent ee8cef6a81
commit e90ac35b0e
No known key found for this signature in database
GPG Key ID: F575992F156E5BCC
3 changed files with 2328 additions and 1235 deletions

3557
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,4 @@
import { Mark, mergeAttributes } from '@tiptap/core'
import type { StyleParseRule } from '@tiptap/pm/model'
export interface SubscriptExtensionOptions {
/**
@ -61,7 +60,7 @@ export const Subscript = Mark.create<SubscriptExtensionOptions>({
// If it falls through well match, and this mark will be applied.
return null
},
} satisfies StyleParseRule,
},
]
},

View File

@ -1,5 +1,4 @@
import { Mark, mergeAttributes } from '@tiptap/core'
import type { StyleParseRule } from '@tiptap/pm/model'
export interface SuperscriptExtensionOptions {
/**
@ -61,7 +60,7 @@ export const Superscript = Mark.create<SuperscriptExtensionOptions>({
// If it falls through well match, and this mark will be applied.
return null
},
} satisfies StyleParseRule,
},
]
},