refactoring

This commit is contained in:
Philipp Kühn
2021-03-15 09:00:44 +01:00
parent 385ee1d1f4
commit e765c8e981
10 changed files with 48 additions and 63 deletions

View File

@@ -1,6 +1,7 @@
import React from 'react'
import { Editor as CoreEditor } from '@tiptap/core'
import { EditorContentProps, EditorContentState } from './EditorContent'
export class Editor extends CoreEditor {
public contentComponent: React.Component | null = null
public contentComponent: React.Component<EditorContentProps, EditorContentState> | null = null
}