📝Editing Letter Templates
Last updated
Last updated
Navigate to the "Template Library" section.
Select the template that you want to edit, then click on the dropdown button beside "Use this template"
Select "Edit template" to open the template editor
Text Edits
You are able to modify the text in your template with various tools in the template editor.
In order to make edits, highlight the text you want to edit and use the toolbar for formatting options such as bold, italic, and underline.
For more text formatting options, you can click on the triple dots on the right, where you will be able to change the format of text (eg. header/paragraph), fonts and highlighting of text.
The font I would like to use is not supported? The fonts that we support are web safe fonts to ensure that they render well on a variety of devices (Window laptops, MacBooks, Apple phones and Android phones). Unfortunately, this means that some of the fonts you might like to use are not supported, as they are not guaranteed to work well on your recipients' devices. Please choose from the fonts supported for the best viewing experience for your recipients.
Add or edit images
To add a new image, you can either:
Drag your image file into the editor. The new image should be uploaded shortly, and you should be able to see it in the editor as well as the preview on the right.
Select the "Image" button in the toolbar. A file-selection window should pop up, prompting you to pick the new image.
Select the new image. The new image should be uploaded shortly, and you should be able to see it in the editor as well as the preview on the right.
To replace an existing image, double-click on the image you want to replace. A file-selection window should pop up, prompting you to pick the new image. Select the new image. The new image should be uploaded shortly, and you should be able to see it in the editor as well as the preview on the right. The maximum size supported for each image file is 3MB, allowed file types are gif, png and jpeg. Note that signature images should not be hosted for security reasons, as signature images can be potentially misused by malicious actors.
Rename templates To rename your template, click on the template name at the top of the editing bar. The template name should become an editable field. Rename your template as needed. Your new template name is not saved until you click on "Save template"
Your template name should be simple and professional as it is displayed to citizens. Keep your template name short and descriptive. Suggested format: Agency short name - Letter for XXX e.g. OGP - Certificate of Curiosity
Add or edit tables The template editor supports the easy creation of tables. To add a table:
Click on the "Table" icon in the toolbar.
Specify the number of rows and columns.
You can further customise the background color and border color of the table. By default the border of the table is set to transparent.
Add or edit links To insert hyperlinks into your template, highlight the text you want to link, click on the "Link" icon, and enter the URL. "Text to display", is the actual text that gets displayed on the letter. The "Title" is what users will see when they hover over the link created and it is an optional field.
Add page breaks Page breaks are only registered for letters when they're downloaded as PDFs. For the digital letters, page breaks do not show up. This is to optimise the viewing experience for users so that they do not have a disrupted visual flow when scrolling through the digital letter. To add a page break, select in the editor which line where you would like to add the page break, then press the "Page break" button on the toolbar.
You should see a dotted bar appear in the editor, where you've added the page break. You should not see any change to the digital letter in the preview on the right, as the line breaks do not affect the appearance of the digital letter.
If you preview the letter PDF, you should see that where you've inserted the page break, a new page should start. (see step 7 for how to preview the letter PDF)
Preview letter PDF Citizens that receive your letter will be able to download a PDF copy of the letter. To ensure that the PDF letter renders as expected, always preview your template PDF when making the content edits to your template. To preview the letter PDF, click on "Preview PDF" in the editor. The PDF file is being generated, this can take a couple of seconds.
When the PDF file is generated, a new window with the sample letter PDF should pop up shortly. Ensure that the contents in the PDF letter shows up as expected, as this is how the downloaded PDF will look like if citizens download a PDF copy of the digital letter.
Any changes to the template are currently applied to the master copy of the template, which will apply to all users once saved.
You will be able to track changes made to your template over time with the version history feature by clicking into the icon shown below:
If you encounter any issues while using the template editor, please share your thoughts with us by reaching out to us via this form or at support@letters.gov.sg.
Your feedback helps us improve and enhance your experience.