Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit850830b

Browse files
committed
enabload markdown images
1 parent8068220 commit850830b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/webview/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ const createReactWebView = ({ extensionPath, workspaceState, workspaceRoot }: Re
2525
localResourceRoots:[vscode.Uri.file(path.join(extensionPath,'build'))],
2626
// prevents destroying the window when it is in the background
2727
retainContextWhenHidden:true,
28+
// allows scripts to load external resources (eg. markdown images, fonts)
29+
enableCommandUris:true,
2830
}
2931
loaded=true
3032
returnvscode.window.createWebviewPanel(viewType,title,vscode.ViewColumn.Two,config)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp