Customizing Web Author Using JavaScript CodeEdit online
To extend the client-side functionality provided by Oxygen XML Web Author, you can use
the JavaScript API. To load your JavaScript customization
code, use one of the following methods:
- Bundle JavaScript code with a Java plugin.
- Bundle the JavaScript code with a framework. Save your code in the framework.js file (located in the web folder inside the particular framework folder).
- If you are using the Web Author Component Integration sample project, add the code in the following file: src/main/webapp/app/plugin.js.
- [Not Recommended] Create a file called plugin.js and copy it in the app folder of the Oxygen XML Web Author deployment.