mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
fix(editor): inline editor should not change event source editable (#11331)
Close [BS-2988: database block会把顶层content editable设成false](https://linear.app/affine-design/issue/BS-2988/database-block会把顶层content-editable设成false)
This commit is contained in:
@@ -275,10 +275,6 @@ export class InlineEditor<
|
||||
this.rootElement.contentEditable = value;
|
||||
}
|
||||
|
||||
if (this.eventSource && this.eventSource.contentEditable !== value) {
|
||||
this.eventSource.contentEditable = value;
|
||||
}
|
||||
|
||||
this._isReadonly = isReadonly;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user