refactor: recreate extension exports

This commit is contained in:
Florian Wiech
2020-12-07 21:32:50 +01:00
parent 11de3a287f
commit 4142637921
62 changed files with 186 additions and 93 deletions

View File

@@ -6,7 +6,7 @@ export interface HistoryOptions {
newGroupDelay: number,
}
const History = Extension.create({
export const History = Extension.create({
name: 'history',
defaultOptions: <HistoryOptions>{
@@ -46,8 +46,6 @@ const History = Extension.create({
},
})
export default History
declare module '@tiptap/core' {
interface AllExtensions {
History: typeof History,

View File

@@ -0,0 +1,5 @@
import { History } from './history'
export * from './history'
export default History