This commit is contained in:
namezlx 2023-10-27 10:40:03 +08:00
parent dca2092018
commit d8acbfc4d5
2 changed files with 3 additions and 18 deletions

View File

@ -851,19 +851,4 @@
}
}
}
}
.editormd-emoji-dialog {
.editormd-dialog-mask {
display: none !important;
}
.editormd-tab-box {
.editormd-grid-table {
.editormd-grid-table-row {
.selected {
background-color: #708cff;
}
}
}
}
}

View File

@ -9,8 +9,8 @@ import 'codemirror/lib/codemirror.css';
import './css/newquestion.css';
const $ = window.$
const mdIcons = ["bold", "italic", "del", "|", "list-ul", "list-ol", "|", "code", "code-block", "link", "|", "image", "table", '|', "line-break", "watch", "clear", "emoji","fullscreen"];
const mdIconsHasLatex = ["bold", "italic", "del", "|", "list-ul", "list-ol", "|", "code", "code-block", "link", "|", "inline-latex", "latex", '|', "image", "table", '|', "line-break", "watch", "clear", "emoji","fullscreen"];
const mdIcons = ["bold", "italic", "del", "|", "list-ul", "list-ol", "|", "code", "code-block", "link", "|", "image", "table", '|', "line-break", "watch", "clear", "fullscreen"];
const mdIconsHasLatex = ["bold", "italic", "del", "|", "list-ul", "list-ol", "|", "code", "code-block", "link", "|", "inline-latex", "latex", '|', "image", "table", '|', "line-break", "watch", "clear", "fullscreen"];
const NULL_CH = '▁';
@ -339,7 +339,7 @@ export default ({ mdID, onChange, onCMBeforeChange, onCMBlur, error = false, cla
syncScrolling: "single",
tex: true,
tocm: true,
emoji: true,
emoji: !!emoji,
taskList: true,
codeFold: true,
searchReplace: true,