This commit is contained in:
Akif9748 2022-09-17 21:43:04 +03:00
parent 3671ecc863
commit c32db6dc28
2 changed files with 2 additions and 5 deletions

View file

@ -48,8 +48,7 @@ window.edit_message = async function (id) {
editing = new SimpleMDE({ editing = new SimpleMDE({
element: cnt, element: cnt,
spellChecker: false, spellChecker: false,
height: "200px", height: "200px"
previewRender: t => converter.makeHtml(t)
}); });
editing.value(content.rawText) editing.value(content.rawText)
} }

View file

@ -127,9 +127,7 @@
delay: 1000, delay: 1000,
}, },
element: textarea, element: textarea,
spellChecker: false, spellChecker: false
previewRender: t=> converter.makeHtml(t)
}); });
import request from "../../js/request.js"; import request from "../../js/request.js";