Back to Website
Show / Hide Table of Contents

Resources

  • Last updated on June 24, 2024
  • •
  • 1 minute to read

Resources are the additional data you provide to assist the user to personalize the design. Unlike the input data, the user does not transform it. Unlike the settings, it does not change the behavior of the editor.

A good example of resources are the folders used as image libraries for the Images and Clipart buttons.

Like settings, resources are also organized into sections. They are described below.

{
    "resources": {
        "assetLibrary": {}
   }
}

assetLibrary section

In Handy Editor resources, the assetLibrary section allows for specifying the root folder for two image libraries — Images and Clipart.

  • clipartsFolder defines the root folder for the Clipart library. This folder should contain vector content (preferable, single-color SVG shapes), like icons, decorations, etc.
  • imagesFolder defines the root folder for the Images library. It may contain content of any image format supported by Customer's Canvas, such as JPEG, PNG, PDF, TIFF, SVG, etc.
Note

The editor will load the content of all subfolders as well.

A path to the folder should be specified relative to the root of the Images section in your Customer's Canvas asset manager. Folders are separated by a slash character (/). Adding a slash to the beginning of a path is allowed, but not necessary.

{
    "assetLibrary": {
        "clipartsFolder": "/Image Library/Clipart",
        "imagesFolder": "Image Library/Images"
    }
}
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback