refactor: recreate extension exports
This commit is contained in:
@@ -6,7 +6,7 @@ export interface UnderlineOptions {
|
||||
},
|
||||
}
|
||||
|
||||
const Underline = Mark.create({
|
||||
export const Underline = Mark.create({
|
||||
name: 'underline',
|
||||
|
||||
defaultOptions: <UnderlineOptions>{
|
||||
@@ -58,8 +58,6 @@ const Underline = Mark.create({
|
||||
},
|
||||
})
|
||||
|
||||
export default Underline
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllExtensions {
|
||||
Underline: typeof Underline,
|
||||
|
||||
Reference in New Issue
Block a user