mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 01:25:37 -05:00
Improve notebook link handling (#6087)
* Improve notebook link handling - Single click now works for links inside Output areas - Command links in untrusted notebooks have link color - Refactored to use directive so code is in 1 place and can be easily added elsewhere if needed * Removed unneeded service from constructor
This commit is contained in:
@@ -44,6 +44,10 @@ export class OutputAreaComponent extends AngularDisposable implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
public get isTrusted(): boolean {
|
||||
return this.cellModel.trustedMode;
|
||||
}
|
||||
|
||||
private setFocusAndScroll(node: HTMLElement): void {
|
||||
if (node) {
|
||||
node.focus();
|
||||
|
||||
Reference in New Issue
Block a user