HTML Formatting Improvements
I wish the HTML was not burdened by so much extraneous code.
I wish the HTML always opened formatted instead of in a paragraph clump.
I wish I could edit the HTML efficiently onsite without having to copy it to an outside source.
With the 7.9 version release, we updated the code editor for editing HTML, CSS, and JavaScript.
More about a new code editor and 7.9 release https://gethelp.wildapricot.com/en/articles/1712-version-79-release
-
Gordon Stewart commented
I'm on 7.9.0. No sign of a new HTML editor.
-
Andrew Steele commented
A workaround that I saw on a similar wishlist item: for most of the HTML editors on Wild Apricot, if you open it, enter a space, save it, and then open it again, the HTML will be formatted instead of clumped. You can then open and close the HTML viewer as many times after that as you'd like to preview your work, but you'll have to do this workaround at the start of a new session, e.g. if you navigate away from that particular email/event description/webpage/etc.
-
Gordon Stewart commented
I've always dreaded having to try to read the Impenetrable Mass of HTML in the WA HTML window. I thought it might be a lot easier to create my own solution that to wait for WA to provide us with one.
My first solution was to run the HTML through https://dirtymarkup.com/ and paste it back into the WA HTML page. This works fine, but I wanted something that was less of a hassle..
So I wrote this windows batch file that does most of this for me.
:: HTML_Tidy.bat
:: in batch file/command line use: html_tidy > html_tidy_log.txt > NUL 2>&1
@ECHO OFF
nircmd.exe clipboard writefile "unformatted_HTML.html"
tidy.exe -config tidy1.cfg unformatted_HTML.html >formatted_HTML.html
nircmd.exe clipboard readfile "formatted_HTML.html"This uses two utility programs, both available on the web. Both are well documented.
nircmd.exe is a command line utility, I use it to copy data files to and from the clipboard.
tidy.exe reads the unformatted HTML, and writes formatted HTML to an output file.You could run this batch file from the command line but it is much easier if you convert to batch file to an executable (google "convert batch file to .exe") and then move it to the Task Bar.
Then to format the HTML,
1. Copy the WA HTML to the clipboard
2. Click on the HTML_Tidy task bar icon
3. Paste the formatted HTML back to the WA HTML window..
A better way to do this would be to use an AutoHotKey script and bypass the copy and paste steps but I could not get it to work. -
Ed Wayt commented
Sometimes, the HTML seems to get auto-formatted after I edit and save it. Would love an option to force this, or even a global option that would automatically format the HTML when opening it for edit.