BigAppa / gwrite

Automatically exported from code.google.com/p/gwrite
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Cannot specify HTML template #31

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.com on 25 Apr 2013 at 9:59

GoogleCodeExporter commented 8 years ago
I agree that a default template should be blank. I am going to see what I can 
do about creating default template files to be loaded on initialization.

Original comment by dsmithha...@gmail.com on 10 Dec 2013 at 11:50