mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-25 14:31:33 +08:00
fix(admonitions): double enter to exit block
This commit is contained in:
parent
8c6c15a8d1
commit
283dbb2b75
@ -129,7 +129,7 @@ export default class AdmonitionEditing extends Plugin {
|
||||
data.preventDefault();
|
||||
evt.stop();
|
||||
}
|
||||
}, { context: 'blockquote' } );
|
||||
}, { context: 'aside' } );
|
||||
|
||||
// Overwrite default Backspace key behavior.
|
||||
// If Backspace key is pressed with selection collapsed in first empty block inside a quote, break the quote.
|
||||
@ -147,6 +147,6 @@ export default class AdmonitionEditing extends Plugin {
|
||||
data.preventDefault();
|
||||
evt.stop();
|
||||
}
|
||||
}, { context: 'blockquote' } );
|
||||
}, { context: 'aside' } );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user