mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 09:21:24 +08:00
fix(editor): ref on click slots should not be global (#9830)
fix AF-2129
This commit is contained in:
@@ -119,9 +119,10 @@ export class LinkCell extends BaseCellRenderer<string> {
|
||||
return;
|
||||
}
|
||||
|
||||
std
|
||||
.getOptional(RefNodeSlotsProvider)
|
||||
?.docLinkClicked.emit({ pageId: this.docId });
|
||||
std.getOptional(RefNodeSlotsProvider)?.docLinkClicked.emit({
|
||||
pageId: this.docId,
|
||||
host: std.host,
|
||||
});
|
||||
};
|
||||
|
||||
get std() {
|
||||
|
||||
Reference in New Issue
Block a user