mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
fix(admonitions): double enter to exit block
This commit is contained in:
@@ -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' } );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user