@ -58,4 +58,7 @@ html, body {
/* resize */
.editormd .CodeMirror {
border-right: none !important;
}
.editormd-preview {
border-left: 1px solid rgb(221, 221, 221);
@ -387,6 +387,11 @@ class MemoNew extends Component {
// repertoires: [],
// currentSelectRepertoiresIndex: -1,
}, ()=> {
// 解决有时候编辑时内容不显示的问题
setTimeout(() => {
this.mdRef.current && this.mdRef.current.setValue(content || '')
}, 2000)
$('.upload_filename').each((index, item) => {
var width = window._textWidth($(item), '14px');
console.log(width)