1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-08-07 22:33:50 +00:00
This commit is contained in:
Jeremy Ruston 2025-02-03 18:44:58 +00:00
parent 431149d20c
commit 6970ac24bf

View File

@ -92,7 +92,7 @@ Update the DomNode with the new text
SimpleEngine.prototype.updateDomNodeText = function(text) { SimpleEngine.prototype.updateDomNodeText = function(text) {
try { try {
if(this.widget.editType === "color") { if(this.widget.editType === "color") {
text = $tw.utils.convertRGBStringToCSSColor(text); text = $tw.utils.convertCSSColorToRGBString(text);
} }
this.domNode.value = text; this.domNode.value = text;
} catch(e) { } catch(e) {