mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 03:39:01 +08:00
docs: define keepOnSplit and default optional (#4404)
This commit is contained in:
parent
52002feeed
commit
ea6dd09728
@ -133,11 +133,11 @@ export type CommandSpec = (...args: any[]) => Command
|
||||
export type KeyboardShortcutCommand = (props: { editor: Editor }) => boolean
|
||||
|
||||
export type Attribute = {
|
||||
default: any
|
||||
default?: any
|
||||
rendered?: boolean
|
||||
renderHTML?: ((attributes: Record<string, any>) => Record<string, any> | null) | null
|
||||
parseHTML?: ((element: HTMLElement) => any | null) | null
|
||||
keepOnSplit: boolean
|
||||
keepOnSplit?: boolean
|
||||
isRequired?: boolean
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user