mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Add support for clickable links and other webview options (#2396)
* Add support for clickable links and other webview options - Added click handling - Added suport for localResourceRoots to be read in the webview * Options should not be mandatory * Ensure the constructor-defined properties are preserved - This fixes issue where the extensionFolderPath was lost during webview withProperties call in the modelbuilder. * enableCommandUris should be a getter * Add position support to webview and to flexContainer * Fix regressions on editor view caused by merge
This commit is contained in:
@@ -69,7 +69,7 @@ suite('ExtHostModelView Validation Tests', () => {
|
||||
.component();
|
||||
await view.initializeModel(flexContainer);
|
||||
done();
|
||||
});
|
||||
}, undefined);
|
||||
|
||||
extHostModelView.$registerWidget(handle, widgetId, undefined, undefined);
|
||||
});
|
||||
|
||||
@@ -35,7 +35,7 @@ suite('ExtHostModelViewDialog Tests', () => {
|
||||
};
|
||||
|
||||
extHostModelView = Mock.ofInstance(<ExtHostModelViewShape>{
|
||||
$registerProvider: (widget, handler) => undefined
|
||||
$registerProvider: (widget, handler, extensionLocation) => undefined
|
||||
});
|
||||
extHostModelViewDialog = new ExtHostModelViewDialog(mainContext, extHostModelView.object, undefined);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user