I need to write bold and normal text in the same cell.
My cell value text contains html tags like <b>, so it looks like this:
var text = 'normal <b>bold</b> normal'
Word wrap also need to work!
How can I do this?
You can use didDrawCell to parse and draw the text yourself.
If anyone is still looking for answer the following links might help.
@simonbengtsson can you specify a little bit more? i think there is not any clear solution to this problem, i tried using didDrawCell hook but could not do it work...
@simonbengtsson can you help us to write a cell with mixed font styles ?
thanks
@simonbengtsson it will be helpful if someone help us answer this question, i tried to use the didDrawCell hook but examples here will help everyone
can see : https://github.com/simonbengtsson/jsPDF-AutoTable/issues/744#issuecomment-812129199
Most helpful comment
@simonbengtsson can you help us to write a cell with mixed font styles ?
thanks