This commit is contained in:
zhuzichu
2023-06-30 18:47:25 +08:00
parent bbb6fe9329
commit 64bbae9266
5 changed files with 81 additions and 9 deletions

View File

@ -134,13 +134,11 @@ FluExpander{
"FluMenuBar",
"FluPagination",
"FluRadioButtons",
"FluImage"
"FluImage",
"FluSpinBox"
];
code = code.replace(/\n/g, "<br>");
code = code.replace(/ /g, "&nbsp;");
return code.replace(RegExp("\\b(" + qmlKeywords.join("|") + ")\\b", "g"), "<span style='color: #c23a80'>$1</span>");
}
}