mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-23 04:04:27 +08:00
fix(editor): should delete collapsed siblings when delete heading (#9376)
This commit is contained in:
@@ -34,6 +34,7 @@ export class ListBlockComponent extends CaptionedBlockComponent<ListBlockModel>
|
||||
|
||||
private readonly _onClickIcon = (e: MouseEvent) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
||||
if (this.model.type === 'toggle') {
|
||||
if (this.doc.readonly) {
|
||||
|
||||
Reference in New Issue
Block a user