takes input from a user (say a name of a new page)
prints the name of the page (as a link) at the cursor
navigates to the new page
I can do all of those things except prompting for input. I’m not experienced with Lua, so I might have missed something reviewing the API, but is there a way to fire a prompt in this way? I am prepared for it to be something silly and obvious.
Well that’s the sound of my whole world opening up, lol. Thank you, that’s exactly what I needed and it worked exactly as I’d hoped. I’m going to use editor.prompt for now and see what happens.
In this case it’s purely a lack of not getting to document all the syscalls yet. You can assume it will stay there. You can indeed also go the js.window.prompt route, that uses the browser’s native prompt dialog then.