Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Help with changing the colour of the underlining of text #4364

Closed
laitang2000 opened this issue Apr 16, 2024 · 1 comment
Closed

Help with changing the colour of the underlining of text #4364

laitang2000 opened this issue Apr 16, 2024 · 1 comment
Labels
Area: Word Issue related to Word add-ins Type: product feature request Office JS ideas that should be posted to aka.ms/m365dev-suggestions (formerly User Voice.)

Comments

@laitang2000
Copy link

Hi, is there a way to change the colour of the underline so that it is different to the colour of the range using office.js?
It appears it is possible to do so in Word, but I cant find it in the sdk. Thanks

image

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Apr 16, 2024
@samantharamon samantharamon added Type: product feature request Office JS ideas that should be posted to aka.ms/m365dev-suggestions (formerly User Voice.) Area: Word Issue related to Word add-ins and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Apr 16, 2024
@samantharamon
Copy link

Hi @laitang2000,

Thanks for reaching out. Currently, you can only change the type of underline using the Office JS API, but not its color (see Word.Interfaces.FontUpdateData). If you'd like to have this functionality when implementing Word add-ins, please submit a feature request on the Microsoft 365 Developer Platform Ideas Forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Word Issue related to Word add-ins Type: product feature request Office JS ideas that should be posted to aka.ms/m365dev-suggestions (formerly User Voice.)
Projects
None yet
Development

No branches or pull requests

2 participants