Hi Viktor,
Thanks for bringing that up, it was next on my list! :)
1 -
About browser file-system API: For security reasons, browsers prevent some
system folders to be set as 'workspace' for read-write file access, such as the root folder of your system, main OS folder like C:\Windows\, home, etc...
2 - Leo-Web, (and LeoJS when running in VSCode for the web to edit a github repository 'workspace' directly in the browser), allows for
myLeoSettings.leo to be present, but at the root of the workspace itself instead of home or home/.leo.
So in conclusion, to change and save your prefered configurations settings, the 'Open LeoSettings' command is the way to go, as you have already tried: and then altering it, and
saving it as myLeoSettings.leo at the root of your workspace (that you've chosen when starting up Leo-Web) will make those settings be applied when re-opening again later, or immediately, with the
reload-settings command.
Note: In Leo-Web, (and in LeoJS) the settings are applied when opening a file, or when doing reload-settings, in the following order: the main (hidden) leoSettings.leo, myLeoSettings.leo and finally @setting node if present in the file.
Thanks again Viktor for trying it out and helping me finding the last details to fix and polish!!
I've modified the content of the 'about' nodes in leoSettings to state where to save myLeoSettings.leo :)
Félix
(I think I'll add suppport for both .leo and .leojs extensions for those settings files!)