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.

Document or Section Background-color support?

See original GitHub issue

In microsoft word it is posible to set background colors other than white. Is it posible with this library too?

Buy the way, there is a non working example in the docs: In ‘Styling with JS -> Declaritive Styles (similar to external CSS)’

color: "999999",
{
  type: UnderlineType.DOUBLE,
  color: "FF0000",
},

maybee with underline?

color: "999999",
underline: 
{
  type: UnderlineType.DOUBLE,
  color: "FF0000",
},

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
dkippcommented, Sep 4, 2020

Sorry for being not explicit enough, I’d like to change the background of the whole document or a section, not just a single word. Like it is possible with “Microsoft word”

0reactions
dolanmiucommented, Oct 30, 2020

Thanks

Typo fixed

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add, change, or delete the background color in Word
Add or Change the background of a document with pre-selected or custom colors, fill effects like gradient, texture, or patters, or use a...
Read more >
Document.bgColor - Web APIs | MDN
The deprecated bgColor property gets or sets the background color of the current document. Value. A string representing the color as a word...
Read more >
Change document background - Workiva Support
You can choose a default background color for the entire document and change the color or image for the background of individual sections....
Read more >
Add a background color to text in Pages for iCloud
If you print your document or download it as a PDF, the background color is visible in the printed copy or PDF. One...
Read more >
HTML DOM Style backgroundColor Property - W3Schools
Style backgroundColor Property ; Set a background color for a document: · body. ; Set a background color of a specific <div> element:...
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