PptxGenJS icon indicating copy to clipboard operation
PptxGenJS copied to clipboard

[BUG] Hyperlink isn't styled or colored based on theme

Open lewdev opened this issue 3 years ago • 0 comments

Version: 3.11.0

Desired Behavior

Hyperlinks should be generated in as blue and then purple once it was visited (default link coloring). Changing the color theme does nothing to the hyperlink colors. The color theme should change the link colors as well.

I am generating slide links (links that jump to another slide)

This did not happen in a previous version of this library.

Observed Behavior

Links are colored black with an underline. I have to manually color them blue so they look like links but they don't change color when clicked.

Steps to Reproduce

This is generally what I'm doing. Just adding hyperlinks to slides:

slide.addText([{
  text: "hyperlink", options: { hyperlink: {slide: 2} }
}], {
  x: .2, y: 1.2, w: 9.6, h: 5.7
});

lewdev avatar Sep 16 '22 00:09 lewdev