How to add word field with javascript api in the plugin?

Do you want to: Suggest a feature / Report a bug / Ask a how-to question
For feature suggestions, describe the result you would like to achieve in detail:
For bug reports, provide the steps to reproduce and if possible a minimal demo of the problem:
Document Server version:
Installation method:
Browser version:

We support content control fields. Please check these example plugins: