Basic codemirror editor

This commit is contained in:
2024-04-28 01:39:29 -05:00
parent 16a3e13ed7
commit de79e5acff
4 changed files with 310 additions and 17 deletions
+20 -15
View File
@@ -35,23 +35,28 @@ a { color: #cccccc; }
margin: 0;
}
/* Make the textarea look presentable (TODO: replace with CodeMirror) */
.content textarea {
height: 100%;
width: 100%;
padding: 0;
margin: 0;
background: #000000;
color: #a0a0a0;
border: none;
resize: none;
outline: none;
/* Make the editor fill the entire height */
.content .editor .cm-editor {
height: calc(100vh - 5em)
}
.forge-editor textarea:focus {
border: none;
outline: none;
}
/*!* Make the textarea look presentable (TODO: replace with CodeMirror) *!*/
/*.content textarea {*/
/* height: 100%;*/
/* width: 100%;*/
/* padding: 0;*/
/* margin: 0;*/
/* background: #000000;*/
/* color: #a0a0a0;*/
/* border: none;*/
/* resize: none;*/
/* outline: none;*/
/*}*/
/*.forge-editor textarea:focus {*/
/* border: none;*/
/* outline: none;*/
/*}*/
/* Status, btns, tabs all look right */
.status, .buttons, .tabbar { font-weight: bold; }