move repl web component to new repl package
+ use it in /vanilla + /vanilla/mini
This commit is contained in:
parent
d4afbc63e2
commit
f0c3d38ea7
12 changed files with 204 additions and 164 deletions
|
|
@ -154,6 +154,7 @@ export class StrudelMirror {
|
|||
});
|
||||
const cmEditor = this.root.querySelector('.cm-editor');
|
||||
if (cmEditor) {
|
||||
this.root.style.display = 'block';
|
||||
this.root.style.backgroundColor = 'var(--background)';
|
||||
cmEditor.style.backgroundColor = 'transparent';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue