Text editor field - not showing style elements in PDF


I’ve created a text editor field in a form, to emphasize some text.

Its showing in my print preview of erpnext:

But not when I create a PDF by clicking PDF in preview of erpnext.

Does anyone know why its happemning or even better know the solution?


I think here is the same topic Colors in the PDF view
but unfortunately without solution.

You can choose code view </> and you should see something like
style="background-color: rgb(255, 255, 0)"

please change it to the
style="background-color: rgb(255, 255, 0) !important;"

Thank you very much! Just what I was looking for. Will search around in future times first before I drop a question…

Met vriendelijke groet / Freundliche Grüße / With kind regards,


Rutger van der Kamp

Strijbosch Acrylics Unlimited B.V.
Kombuisweg 31
1041 AV Amsterdam
T +31 (0)20 665 44 04