4.8.10 test (#2618)

* perf: menu arrow ui

* perf: http node placeholder

* perf: http node form input

* perf: chatBox performance
This commit is contained in:
Archer
2024-09-05 11:49:13 +08:00
committed by GitHub
parent 3bcc3430fb
commit 3671e55001
9 changed files with 607 additions and 502 deletions

View File

@@ -49,7 +49,7 @@ const Markdown = ({
const formatSource = useMemo(() => {
const formatSource = source
.replace(
/([\u4e00-\u9fa5\u3000-\u303f])([\w\u0020-\u007e])|([a-zA-Z0-9\u0020-\u007e])([\u4e00-\u9fa5\u3000-\u303f])/g,
/([\u4e00-\u9fa5\u3000-\u303f])([a-zA-Z0-9])|([a-zA-Z0-9])([\u4e00-\u9fa5\u3000-\u303f])/g,
'$1$3 $2$4'
) // Chinese and english chars separated by space
.replace(/\n*(\[QUOTE SIGN\]\(.*\))/g, '$1');