Add textarea fallback for CodeMirror initialization failures and fix module dependency conflicts with import map
This commit is contained in:
@@ -937,6 +937,21 @@ a:hover {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
}
|
||||
|
||||
.fallback-editor {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 420px;
|
||||
border: none;
|
||||
outline: none;
|
||||
resize: none;
|
||||
padding: 16px;
|
||||
background: var(--code-bg);
|
||||
color: var(--text-primary);
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
/* Mobile editor */
|
||||
@media (max-width: 768px) {
|
||||
.editor-modal {
|
||||
|
||||
Reference in New Issue
Block a user