☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

link

Table of contents

Description:

This key defines input options for link Editable Regions.

Appears in:
└── _editables
    └── link
Type:
Object
Properties:
pathsObject#

This key defines paths for your Rich Text editors or File inputs.

If undefined at higher levels of the configuration cascade, paths will default to any values configured in the CloudCannon configuration file.

Show examplesHide examples

In this example, we have configured paths for the blog Collection to set custom upload and static paths.

Copied to clipboard
collections_config:
  blog:
    paths:
      uploads: /uploads/blog/
      static: /assets/
{
  "collections_config": {
    "blog": {
      "paths": {
        "uploads": "/uploads/blog/",
        "static": "/assets/"
      }
    }
  }
}
Examples:
Open in a new tab