Steps to reproduce
- Create an empty canvas file and add a node in it
- Color the node with one of the default colors (for example red)
- Color the node to black (#000000)
- Close and reopen canvas file
Did you follow the troubleshooting guide? [Y/N]
Yes, it is reproduced in sandbox vault
Expected result
Canvas file is saved and node keeps black color after reopen
Actual result
Node is colored with previous color (red color in this case)
Environment
SYSTEM INFO:
Obsidian version: v1.10.6
Installer version: v1.8.4
Operating system: #91~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 15:20:45 UTC 2 6.8.0-90-generic
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
Canvas is properly saved only when other changes happen in the canvas, for example if you move node position or add a new node. Seems like setting color to #000000 is not triggered as an event for auto-save.
Here an example of canvas file that is affected by this issue.
{
"nodes":[
{"id":"5c1fb0176d87da75","type":"text","text":"Card","x":0,"y":0,"width":250,"height":60,"color":"1"}
],
"edges":[]
}
~