mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 14:59:27 +08:00
fix: make type partial (#5514)
This commit is contained in:
parent
dbcdaad30a
commit
c076a0e3bb
@ -100,7 +100,7 @@ export interface EditorOptions {
|
||||
*
|
||||
* @default true
|
||||
*/
|
||||
enableCoreExtensions: boolean | Record<'editable' | 'clipboardTextSerializer' | 'commands' | 'focusEvents' | 'keymap' | 'tabindex', false>;
|
||||
enableCoreExtensions?: boolean | Partial<Record<'editable' | 'clipboardTextSerializer' | 'commands' | 'focusEvents' | 'keymap' | 'tabindex', false>>;
|
||||
/**
|
||||
* If `true`, the editor will check the content for errors on initialization.
|
||||
* Emitting the `contentError` event if the content is invalid.
|
||||
|
Loading…
Reference in New Issue
Block a user