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