silverbulletmd / silverbullet

The knowledge hacker's notebook
https://silverbullet.md
MIT License
2.31k stars 167 forks source link

Page from url fails to load if space script is disabled #1084

Open tmichela opened 2 days ago

tmichela commented 2 days ago

After I disabled space scripts SB_SPACE_SCRIPT=off in my space, opening a page in the space from a url opens the page, but without any text content. Other things, like "linked Mentions" are there for example.

the console shows:

TypeError: globalThis.syscall is not a function
    ft syscall.ts:16
    vR editor.ts:32
    loadPage client.ts:1146
    initNavigator client.ts:478
    r navigator.ts:125
    b2 async.ts:98
    r navigator.ts:106
    subscribe navigator.ts:141
    initNavigator client.ts:475
    init client.ts:242
    async* boot.ts:24
    b2 async.ts:98
    <anonymous> boot.ts:7
    <anonymous> boot.ts:52
zefhemel commented 2 days ago

Ok. I think I know where this is coming from. Will fix.