set init settings for languages + fixes
This commit is contained in:
@@ -14,8 +14,7 @@ export class CodeEditor extends BaseElement {
|
||||
this.initWorkers();
|
||||
this.input = this.setInitInput();
|
||||
this.language = this.tagName.substring(0, this.tagName.indexOf("-")).toLocaleLowerCase();
|
||||
|
||||
console.log(this.language);
|
||||
this.setInitSettings();
|
||||
|
||||
const prefersDarkScheme = window.matchMedia("(prefers-color-scheme: dark)");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user