|
Thanks for the Live Server tip. I have just installed it and first impression is that it works really well.
|
|
|
|
|
I use a 2003 version of FrontPage.
That said, I got really frustrated with the crap that's out there, including the plugins for VSCode, so I ended up writing my own.[^]
At least that way I'm responsible for any bugs, lol. But I can also easily create the keyboard shortcuts that I want (with some limitations, sigh) and other behaviors, and the source is pretty small. I've used it to write a few articles, and I'm happy with it.
Some of the keyboard shortcuts were created specifically for article writing, to create "pre" tags with the "lang" specifier.
Annoyingly, because it's browser-based, saving means it downloads into the "downloads" folder.
If you end up liking it enough, or making changes to it, I think I can make you a co-author if you want to share the changes, or you could just write a new article improving it!
[edit]Oh, and it has a TOC generator![/edit]
|
|
|
|
|
Thanks, and cool though I'm really looking for something that works offline. Particularly I fear losing my work when Comcast inevitably fails and brings down the Internet in my region.
Real programmers use butterflies
|
|
|
|
|
Well, of course it works offline because it's not hosted on a server. Just run the HTML index file in your browser, whether it's offline or not.
|
|
|
|
|
Oh, it's pure HTML with no back end? Cool. I'll give it a look.
Real programmers use butterflies
|
|
|
|
|
Yup, and pure JavaScript too - no frameworks, no kruft, just raw metal. Actually the one and only file is just "editor.html" (I misspoke about "index" file.)
|
|
|
|
|
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.
|
|
|
|
|
Here's something i stumbled across, but I haven't downloaded it.
Smit HTML Editor - CodePlex Archive[^]
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I'll give it a look. It's a UserControl unfortunately. Hopefully they have a demo app i can use
Real programmers use butterflies
|
|
|
|
|
I could be talked into making an app around it.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Maybe I'll hit you up if this Live Server thing with VS Code doesn't work out for me. I hate writing GUI apps, especially WPF.
Real programmers use butterflies
|
|
|
|
|
Awesome thanks for the link. Writing an WPF app and have been looking for just such a beast.
I'm not sure how many cookies it makes to be happy, but so far it's not 27.
JaxCoder.com
|
|
|
|
|
I have been and still use MS's Expression Web 4. For years.
It has some auto-completion (it's not fully aware of the latest in HTML5/CSS3) but that really doesn't matter. Has wysiwyg for the HTML/CSS (that it understands) but it doesn't execute javascripts. Supposedly it would do php but, in my experience, connecting the engine to it hasn't worked out well.
But it has color coding, fonts, and all that which are customizable and does autocomplete most javascript/php/CSS3) and that covers a lot of it. Drag-and-Drop elements and styles, &etc. available but I've gotten to just typing in what I want.
Reliable . . . and free !
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Thanks. I am downloading it now. Hopefully my modem doesn't kick me offline before it can finish.
Real programmers use butterflies
|
|
|
|
|
I almost forgot a useful feature: you can connect a folder (containing your website) as a website and it will work even better: searches across all files and folder, for example, within the website and it creates a "far left" tab that contains the website stuff automatically if it is declared as one. I've even had it take note of a change that affects other files in the declared website.
My personal view, at this time, has no sidebars - I used them when I was first learning.
Here's a thing I do - you may find it useful: When possible, I change the text context coding so strings are like this. It helps avoid mistakes like not terminating the strings or terminating with the wrong type of quote. Works for all the variants of php strings, too, including HEREDOC.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I have used this for years as well, the wysiwig is a bit hit or miss with some tags but it does a more than halfway job
Unfortunately Microsoft discontinued download of it in september this year so only really good for people that already hav a copy
|
|
|
|
|
Well, according to the original poster: The Lounge[^] it's available. Maybe via MSDN - it wasn't specified.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
What about vscode plugins? You are there already, no?
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Someone suggested the Live Server extension, which while isn't exactly what I wanted, is close enough that I may be able to use it. It's wysiwyg but by way of a preview panel on the right hand side, instead of allowing you to wysiwyg edit. The panel on the right updates when you change the HTML on the left.
That's great, really, especially for web design, but not entirely ideal for writing articles where I just want to click bold or list without having to type a bunch of tags all the time.
I'm not averse to editing tags, it just takes longer.
Real programmers use butterflies
|
|
|
|
|
Although my internet connection is pretty stable, I've been burned enough times (usually by remote servers going down) that it's my habit now when posting anything, anywhere, to do a Ctrl-A / Ctrl-C. If it all goes wrong I can just Win-V and access multiple fields' worth of text to paste back in and try again.
|
|
|
|
|
I try to remember to do that but it's not habit yet. If I'd only glance at my screen and see my ethernet was disconnected before I post it would save me pain, but sometimes good habits take time to get ingrained, even though the bad ones are instant!
Real programmers use butterflies
|
|
|
|
|
Have you tried KompoZer?
It hasn't been updated for a few years, but it's full WYSIWYG, has the Mozilla browser built-in, and does a pretty good job of handling style sheets.
|
|
|
|
|
|
I am rather surprised nobody has mentioned BlueGriffon[^]
If it was more actively worked on, it could be epic. In its current state its pretty damn good, but certainly has its quirks. I've found with persistence I can work around most of them.
|
|
|
|
|
Tried TiddlyWiki? 100% offline & wysiwyg
|
|
|
|