scpl-editor icon indicating copy to clipboard operation
scpl-editor copied to clipboard

Web editor only lets you edit one file

Open pfgithub opened this issue 6 years ago • 2 comments
trafficstars

It would be nice for the web editor to have a full project manager in localstorage where you can work with multiple files and they stay after refreshing the page.

pfgithub avatar Mar 06 '19 16:03 pfgithub

Just a note: bplist-parser works only in a Node.js environment (since it uses Buffers and not ArrayBuffers), so you may want to write a parser that can be executed on browsers before adding this feature.

xAlien95 avatar Mar 06 '19 17:03 xAlien95

@xAlien95 Webpack already has a buffer thing built in, bplist-converter and OutputData.ts rely on it. bplist-parser requires fs but there are some modules I can use to emulate fs in ram or I can make a slightly modified version of the module that doesn't need fs.

If it needs more advanced buffer features not available in the webpack shim, there are also modules to do those too.

pfgithub avatar Mar 06 '19 19:03 pfgithub