Skip to content

Commit

Permalink
Merge pull request #53 from Armitxes/fix/52/open-bi-docs
Browse files Browse the repository at this point in the history
[FIX] Issue #52
  • Loading branch information
Armitxes committed Dec 28, 2020
2 parents d23b244 + 2332572 commit ab451f0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions env/shared/commands/biWiki.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,5 @@ exports.browseSelectedCommand = () => {
let selection = editor.selection;
let command = editor.document.getText(selection).trim();

const panel = vsc_core.window.createWebviewPanel(
'browseCommandDocs', "BI Wiki: ".concat(command),
vsc_core.ViewColumn.One, { }
);
panel.webview.html = '<iframe style="width:100%; height:99vh;" src="https://community.bistudio.com/wiki?title=' + command + '&printable=yes"></iframe>'
vsc_core.env.openExternal('https://community.bistudio.com/wiki?title=' + command);
}

0 comments on commit ab451f0

Please sign in to comment.