When I restart the site, the selected rule is lost and doesn't stay saved. It seems like the site isn't keeping track of the selected rules.
This might be connected to issues #61 and #43.
I tried to fix this in static/scripts/editor.ts by adding code to save and load the selected rules. But it looks like the rules get replaced by the WebAssembly (Wasm) module after the grammar is parsed, so my changes didn’t work.
I'm willing to fix these issues, but I’m not sure where to start. Any advice or tips would be really helpful.
When I restart the site, the selected rule is lost and doesn't stay saved. It seems like the site isn't keeping track of the selected rules.
This might be connected to issues #61 and #43.
I tried to fix this in static/scripts/editor.ts by adding code to save and load the selected rules. But it looks like the rules get replaced by the WebAssembly (Wasm) module after the grammar is parsed, so my changes didn’t work.
I'm willing to fix these issues, but I’m not sure where to start. Any advice or tips would be really helpful.