mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 09:25:29 +08:00
fix(core): make exitable resolve it's value through inheritance (#5244)
This commit is contained in:
parent
b2aefc215d
commit
2ef43e9251
@ -181,7 +181,7 @@ export class ExtensionManager {
|
||||
let defaultBindings: Record<string, () => boolean> = {}
|
||||
|
||||
// bind exit handling
|
||||
if (extension.type === 'mark' && extension.config.exitable) {
|
||||
if (extension.type === 'mark' && getExtensionField<AnyConfig['exitable']>(extension, 'exitable', context)) {
|
||||
defaultBindings.ArrowRight = () => Mark.handleExit({ editor, mark: extension as Mark })
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user