fix: New diagram button, add MC links

This commit is contained in:
Sidharth Vinod
2025-03-18 11:11:31 -07:00
parent d039f6534a
commit 3b2c7caf07
7 changed files with 56 additions and 21 deletions
+1
View File
@@ -132,6 +132,7 @@ export const urlsStore = derived([stateStore], ([{ code, serialized }]) => {
save: `${MCBaseURL}/app/plugin/save?state=${serialized}`,
playground: `${MCBaseURL}/play#${serialized}`
},
new: `${window.location.protocol}//${window.location.host}${window.location.pathname}/#${serializeState(defaultState)}`,
png,
svg: `${rendererUrl}/svg/${serialized}`,
view: `/view#${serialized}`