You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See in [#6](https://github.com/subframe7536/vscode-custom-ui-style/issues/6)
209
209
210
+
### Fail to render panel
211
+
212
+
According to [#34](https://github.com/subframe7536/vscode-custom-ui-style/issues/34), in Cursor (close source VSCode's fork), the extension detail panel will not show by default due to the violation of iframe's CSP. Currently the way to fix it is just skip patch on webview, so please set `"custom-ui-style.webview.enable": false`
213
+
210
214
## Configurations
211
215
212
216
<!-- configs -->
@@ -227,6 +231,7 @@ See in [#6](https://github.com/subframe7536/vscode-custom-ui-style/issues/6)
227
231
|`custom-ui-style.external.loadStrategy`| Load strategy for external CSS or JS resources |`string`|`"refetch"`|
228
232
|`custom-ui-style.external.imports`| External CSS or JS resources, support variable: [${userHome}, ${env:your_env_name:optional_fallback_value}], support protocol: 'https://', 'file://' |`array`| `` |
229
233
|`custom-ui-style.stylesheet`| Custom css for editor, support nest selectors |`object`|`{}`|
234
+
|`custom-ui-style.webview.enable`| Enable style patch in webview |`boolean`|`true`|
230
235
|`custom-ui-style.webview.monospaceSelector`| Custom monospace selector in webview |`array`| `` |
231
236
|`custom-ui-style.webview.sansSerifSelector`| Custom sans-serif selector in webview |`array`| `` |
232
237
|`custom-ui-style.webview.stylesheet`| Custom css for webview, support nest selectors |`object`|`{}`|
0 commit comments