Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to change hyperlink color #389

Closed
szilagyikinga opened this issue Aug 10, 2018 · 1 comment · Fixed by #880
Closed

Unable to change hyperlink color #389

szilagyikinga opened this issue Aug 10, 2018 · 1 comment · Fixed by #880

Comments

@szilagyikinga
Copy link

I am using the library in a node.js environment, and I can't change the color of a hyperlink. Is this feature not yet implemented, or am I doing something wrong?

const slide = pptx.addNewSlide();
slide.addText(
    [{
        text: 'Contactez-nous',
        options: { hyperlink:{ url:'https://www.google.com/' } }
    }],
    {
      w:'100%',
      h:'100%',
      fontSize:48,
      align:'center',
      margin:20,
      color:'0488C4',
    }
);
@gitbrent gitbrent linked a pull request Jan 3, 2021 that will close this issue
@gitbrent
Copy link
Owner

gitbrent commented Jan 3, 2021

Will be in v3.4.0

@gitbrent gitbrent closed this as completed Jan 3, 2021
@gitbrent gitbrent added this to the 3.4.0 milestone Jan 3, 2021
gitbrent added a commit that referenced this issue Jan 3, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants