Currently, the template for a new HTML file is hard-coded into webkitedit.py in
the BLANKHTML variable. This template is of an arbitrary design which has css
declarations which I permanently need to remove. A workaround is to create all
the files in a different tool, or using touch, then loading within gwrite.
Though I've now figured out how to change it within the code, it would be
better if this template were a file, loaded from the gwrite config directory,
meaning it would be easy to substitute with a different file.
If gwrite could be launched with a specified file as the preferred blank
template, or configured to select a preferred blank template by loading one
from file from within Preferences, (which would be stored in a ~/.config/
location perhaps).
In my view, the blank template should be actually blank, rather than having CSS
declarations for green headers etc, but that's a matter of taste so long as it
is controllable.
Original issue reported on code.google.com by
c...@cefn.comon 25 Apr 2013 at 9:59