+
+ {showLanguageSelector && (
+
+
+
+ )}
+
+ );
+};
+
+export default Editor;
diff --git a/src/frontend/src/pad/editors/HtmlEditor.tsx b/src/frontend/src/pad/editors/HtmlEditor.tsx
index a879d7f..84715ac 100644
--- a/src/frontend/src/pad/editors/HtmlEditor.tsx
+++ b/src/frontend/src/pad/editors/HtmlEditor.tsx
@@ -1,7 +1,7 @@
-import React, { useState, useRef } from 'react';
+import React, { useState, useRef, useEffect } from 'react';
import type { NonDeleted, ExcalidrawEmbeddableElement } from '@atyrode/excalidraw/element/types';
import type { AppState } from '@atyrode/excalidraw/types';
-import Editor from '@monaco-editor/react';
+import Editor from './Editor';
import { ExcalidrawElementFactory } from '../../lib/ExcalidrawElementFactory';
import '../../styles/HtmlEditor.scss';
@@ -17,10 +17,32 @@ export const HtmlEditor: React.FC