newcat / baklavajs

Graph / node editor in the browser using VueJS
http://baklava.tech
MIT License
1.52k stars 113 forks source link

feat(Config): Add option to enable some part for the editor #357

Closed starker-xp closed 7 months ago

starker-xp commented 8 months ago

The goal is to be able to disable certain parts of the editor.

newcat commented 7 months ago

Unfortunately, I had to revert the changes to the minimap settings, since they would be breaking (even though that would be the nicer solution)

starker-xp commented 7 months ago

Where did you find the breaking changes? Let me correct it.

newcat commented 7 months ago

The breaking change was removing the enableMinimap property. I thought I may be able to find a way to keep the property while also having the minimap.enabled property and have them synced, but so far I wasn't able to get it working with Vue's reactivity system. I'm going to merge this PR now and maybe I'll find something in the future.

starker-xp commented 7 months ago

Ok I see, I'll try on my side and I'll make a PR if I find it.