Can we make a html input match template formatting?

The font from my HTML Rich Text is the standard font from Sharepoint; however, is there a way to match the font and size in my DOCX template?

Hi @AntEnthusiast,

The HTML formatter keeps the font type and size from the SharePoint rich text field.

Would you like it to be changed to another font from the template?

I think the only way to do this is to change the source font in the rich text field to match the font in the DOCX template.

Best regards,
Petr
Plumsail team

Hi Petr

I'd like it to match the font in my template (which is not available in SharePoint). I'd normally use a plain text field for this sort of thing, but my text has paragraph and dot points text which is not possible via plain text. Strangely the paragraphs are the same font as it's in SharePoint, but the dot points are in the same format as the template (so it's half way there :sweat_smile:)

Hi @AntEnthusiast,

I'll discuss the case with our developers to see if we can suggest a workaround or improve the HTML formatter.

I'll keep you posted about the results.

Best regards,
Petr
Plumsail team

Hello,

We released the changes for the HTML formatter.

The inserted HTML has font properties from the default style (“Normal” in Word by default). If you don’t want this to happen and want HTML to dictate the styles, use the formatter with the false parameter:

:html(false)

Currently, the fomatter takes font-family, font size, color, alignment, boldness/italic/underline from the default style. If you need some other properties from the “Normal” style, please let us know and we will see what we can do.

Best regards,
Petr
Plumsail team