We have built a Word Add-In using the Office Add-in platform SDKs (JavaScript).
The Add-In includes a custom ribbon tab (defined in the Manifest.xml). We've been asked to add the "Text Styles" built-in command button to the custom ribbon. It's possible to add this manually by right-clicking and customising the toolbar.
[
]
We'd like to roll this out to all users on a larger scale – is it possible to add this customisation programmatically through our Add-In (manifest.xml)?
I've tried to change the manifest.xml file to reference the StylesPane command but this wasn't successful. I've also researched other ways to customise the "Office Fluent Ribbon" by following the links in this GitHub repo, specifically Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3) | Microsoft Docs however these instructions seem to be targeted to the older COM add-in model for Office and not the newer JavaScript-based Office Add-in platform.
Is it even possible to add or reference built-in commands in a custom ribbon?