We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca3f24e commit aa8a456Copy full SHA for aa8a456
WebItemEditor/webroot/js/webedititem.js
@@ -88,6 +88,7 @@ function appendText(previewObj, text) {
88
case 'n': case 'N': underline = true; break;
89
case 'o': case 'O': italic = true; break;
90
case '#': if (i + 7 < text.length) { color = text.substring(i, i + 7); i += 6; resetFormat(); } break;
91
+ case 'x': case 'X': if (i + 13 < text.length) { console.log("color " + text.substring(i + 1, i + 13).replaceAll('&', '')); color = "#" + text.substring(i + 1, i + 13).replaceAll('&', ''); i += 12; resetFormat(); } break;
92
}
93
94
else {
0 commit comments