|For local saving from an existing browser-based HTML/JS editor, I would recommend having locally running PHP.
With XAMPP you can have PHP without real installation, you just
- put XAMPP to some local folder
- set the root "web" folder (PHP can handle files only in this root folder and its subfolders)
- add XAMPP Control Panel executable to your operating system startup (or at least start it always before editing HTML)
- put a short local PHP script file e.g. MySaveFile.php to this root folder, which would validate the path and save the HTML to the file. It could also keep one or more backup copies of the file.
Then you would just add some controls into your editor:
- a Save button,
- an input text for the file path+name to the form (or call a simple JS function, which would create and submit the form)
- a small IFrame for sending the save request and getting the response (whether it was saved succesfully). The form action then would be "http://localhost:8080/MySaveFile.php" or something like that.
Using PHP could also offer the possibility to browse the folders and subfolders in the web root directory.
If someone is interested, I can prepare both the form for saving and the PHP script.
I tried several HTML editors and I was not able to choose any of them. They wrap lines where I don't want them to be wrapped, replace with a space, don't offer all the formatting properties I use,... And I already lost hope I could find some suitable programmer's WYSIWYG editor.
I suppose it's time to try Marc's editor.