Delete Document Type Definitions

Danny 2 years ago in iPad updated by Alexander Blach (Developer) 2 years ago 3

Is is possible to delete the standard Document Type Definitions?

Best regards,



Thank you for your quick response. I managed to modify the standard templates :)

Satisfaction mark by Danny 2 years ago
Under review

Can you please tell me a bit more about what the problem is or what you are trying to do?


When i making a new HTML file(index.html) i can select different doctypes like HTML1.0 and for example HTML4.0. 

is the a way to delete them so that i can only use my own(templates)?


Ah, I see. Yes, you can add your own templates and also modify the built-in ones.

The templates are strings in a .json file. You can put them into the folder "Local Files/#Textastic/Templates". 

The default HTML template .json file can be found at https://github.com/blach/Textastic-Customization/blob/master/Templates/html.json

You can modify the html.json file and put it into the folder "Local Files/#Textastic/Templates/". As long as you don't change the uuid field in the .json file, it will be used instead of the templates that are built into the app.

This is described at https://github.com/blach/Textastic-Customization/blob/master/README.md#modifying-existing-templates

Please also have a look at this topic in the manual to see how to add the special folder "#Textastic" in Local Files: