表情库

This commit is contained in:
namezlx 2023-10-27 10:34:22 +08:00
parent 76be09ae29
commit dca2092018
2 changed files with 18 additions and 3 deletions

View File

@ -851,4 +851,19 @@
}
}
}
}
.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","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 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 NULL_CH = '▁';
@ -339,7 +339,7 @@ export default ({ mdID, onChange, onCMBeforeChange, onCMBlur, error = false, cla
syncScrolling: "single",
tex: true,
tocm: true,
emoji: !!emoji,
emoji: true,
taskList: true,
codeFold: true,
searchReplace: true,