Skip to content

Commit 31d7c8b

Browse files
docs: update doc for get template available fonts.
1 parent 6c3acff commit 31d7c8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/FONTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Renderforest.getTemplateAvailableFonts(1021)
1717

1818
[See example](/samples/fonts/get-template-available-fonts.js)
1919

20-
`getTemplateVailabeFonts` function returns object containing all fonts.
21-
The object which returned has method `getFontById` which accepts `fontId` as parameter.
22-
`getFontId` method return flatten font.
20+
`getTemplateAvailabeFonts ` function returns an object containing all fonts.
21+
The returned object has `getFontById ` method which accepts `fontId` parameter.
22+
`getFontId` method returns flattened font.
2323

2424
**Be careful**: `setFonts()` project data instance setter accepts only flatten font.
2525

0 commit comments

Comments
 (0)