question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No feature for a richtext formatting? e.g. Bold letters in a sentence with doc.text()?

See original GitHub issue

Are you using the latest version of jsPDF?

  • YES

Have you tried using jspdf.debug.js?

  • Nope

Steps to reproduce

This DEMO will explain it.

What I saw Just a simple text sentence produced by doc.text();

Can i make this words “BOLD!? BOLD!? BOLD!?”

What I expected

Can i make this words “BOLD!? BOLD!? BOLD!?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
Uzlopakcommented, Dec 26, 2017

Well. I thought about implementing an BBCode parser or something like that to extend the text-Method. But right now I wait that my Pullrequests get merged or rejected to clean my fork afterwards to implement new stuff.

0reactions
Uzlopakcommented, Feb 21, 2018

Duplicate of #1214

Read more comments on GitHub >

github_iconTop Results From Across the Web

No feature for a richtext formatting? e.g. Bold letters in ... - GitHub
This DEMO will explain it. What I saw. Just a simple text sentence produced by doc.text();. Can i make this words "BOLD!? BOLD!?...
Read more >
Enable or disable full rich-text formatting in a rich text box
Right-click the rich text box for which you want to enable or disable full rich-text formatting, and then click Rich Text Box Properties...
Read more >
Editing and styling text | Apps Script - Google Developers
You can edit and style text using text ranges, which are represented by the TextRange type. A TextRange represents a segment of text...
Read more >
How do I add rich text formatting (i.e. bold, italics, subscripts ...
Add rich text formatting by using the 'Emoji & Symbols' feature on a Mac or the 'Character Map' on a PC. Go to...
Read more >
1. RTF Tutorial - RTF Pocket Guide [Book] - O'Reilly
This book is a convenient reference for Rich Text Format (RTF). It covers the essentials of RTF, especially the parts that you need...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found