Editing Text-Based Assets in the CMS


Users can use the Ace editor to edit text-based assets such as JavaScript, CSS, HTML, XML, CSHTML, and other text and code files within Ingeniux CMS.

Note
Users can alternatively edit text-based assets outside of the CMS. See Editing Text-Based Assets Outside the CMS for details.
To edit a text-based asset within the CMS:
  1. Navigate to Assets > Assets Tree.
  2. Check out the asset item in the Assets Tree.
    The asset's Overview tab displays in the main pane by default.
  3. Select the Edit tab.

    Select Edit Tab

    The asset's content displays in the Edit tab.
  4. Make edits to the asset content as needed.
    Note
    See Editing HTML Assets in the CMS for details to edit HTML assets.

    Optional editing tools in the Edit tab include:

    OptionDescription
    Undo Undo ButtonUndo your most recent action.
    Format Save As ButtonFormat and indent the content within the text-based asset.
    Search Save As ButtonSearch for a text string within the text-based asset. You can also use this tool to find and replace text strings.

    Select Edit Tab

  5. Choose one of the following steps.
    • Select Save Save Button to confirm and save your edits without checking in the asset.
    • Select Save As Save As Button to save the content as a new asset item in the Assets Manager. Complete the following steps in the Save As dialog that displays.
      1. Enter a name for the new asset in the Enter a New Name field.
      2. Select or clear the Save as Related checkbox. If selected, the new asset becomes related to the original asset. See Adding Related Images for details.
      3. Select a parent folder to contain the new asset, and select Save.
    • Select Check In Check In Button to save your edits and check in the asset to the CMS.