Skip to content
Shows how to insert and style ranges, paragraphs, content controls, images, and HTML into documents, how to insert content into content controls, and how to format text.
Branch: master
Clone or download
Rick-Kirkham Merge pull request #1 from rpanday/master
Typo fixed: <b> should be <p>
Latest commit 016ccbe Feb 18, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE initial upload Feb 26, 2018 correct readme title Feb 27, 2018

Word Web Add-in project for use with the Word Getting Started tutorial

This repo contains the start and end states of a Word Web Add-in tutorial that shows developers how to insert text, images, tables, HTML, and content controls in to documents, specific paragraphs, and specific ranges. It also shows how to replace content in ranges, paragraphs, and content controls.

Table of Contents

Change History

  • February 26th, 2018: Initial version.


  • An Office 365 account.
  • Word 2016, version 1711 (Build 8730.1000 Click-to-Run) or later. You might need to be an Office Insider to get this version. For more information, see Be an Office Insider.
  • Node and npm
  • Git Bash (Or another git client.)

To use the project

This sample is meant to accompany the tutorials that begin at: Word Tutorial.

There are two versions of the sample, in the folders Start and Completed.

To use the Before version and manually add the code, follow the procedures in the article linked to above. Then go on to each subsequent stage of the tutorial. Each one links to its successor.

To work with the Completed version, follow all the steps in the Setup section of the first stage of the tutorial (but replace "Start" with "Completed" in the instructions), and then follow the steps in the Test the add-in section of each stage of the tutorials.

Questions and comments

We'd love to get your feedback about this sample. You can send your feedback to us in the Issues section of this repository.

Questions about Microsoft Office 365 development in general should be posted to Stack Overflow. If your question is about the Office JavaScript APIs, make sure that your questions are tagged with [office-js] and [API].

Additional resources

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.


Copyright (c) 2018 Microsoft Corporation. All rights reserved.

You can’t perform that action at this time.