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 14e67fd commit c55beddCopy full SHA for c55bedd
src/visualEditor.ts
@@ -272,7 +272,7 @@ export class VisualEditorProvider implements vscode.CustomTextEditorProvider {
272
const config = vscode.workspace.getConfiguration('webVisualEditor');
273
const dom = new JSDOM(code.getText(), { includeNodeLocations: true });
274
const document = dom.window.document;
275
- if (!config.get<boolean>('webVisualEditor.allowScript')) {
+ if (!config.get<boolean>('allowScript')) {
276
// Disable scripts in code
277
document.querySelectorAll('script').forEach(el => { el.remove(); });
278
document.querySelectorAll('body *, body').forEach(el => {
0 commit comments