Editing Scripts
After you insert a script into a topic or create a snippet from a script, you might decide later that the script needs to be altered. You can edit the script using the steps below. If you edit a script contained in a snippet, the changes are automatically reflected in any topics where you have inserted the snippet previously.
How to Edit a Script
- Open the content file.
- In the XML Editor, right-click the script that you want to modify.
- From the context menu, select Edit Script. The Insert Script dialog opens.
- Make the necessary changes to the script—either the language and/or the script code itself.
- Click OK.
- Click to save your work.