Make the editor open when clicking on a bang.

This commit is contained in:
Bauke 2022-03-15 11:33:36 +01:00
parent 28123cfb3f
commit c086eda7de
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,8 @@ export class PageMain extends Component<Props, State> {
editorBang: {...bang},
});
}
document.querySelector('.bang-editor')?.setAttribute('open', 'true');
};
return html`