We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b28007 commit 828d4edCopy full SHA for 828d4ed
src/documentation/webview/webview.ts
@@ -25,6 +25,13 @@ const themeObserver = new ThemeObserver();
25
themeObserver.updateTheme();
26
themeObserver.start();
27
28
+// Disable clicking on links as they do not work
29
+const disableLinks = document.createElement("style");
30
+disableLinks.textContent = `a {
31
+ pointer-events: none;
32
+}`;
33
+document.head.appendChild(disableLinks);
34
+
35
// Set up the communication bridges to VS Code and swift-docc-render
36
createCommunicationBridge().then(async bridge => {
37
const vscode = acquireVsCodeApi();
0 commit comments