Version:

Acquia Cohesion renames to Site Studio from version 6.2. Tell me more.

    No Twig or HTML properties

    By default if a custom component doesn’t use a template or html property, it will use the default twig that Site Studio provides. This default template will render a `<div>` that has a class of the id of the custom component. All field values will be accessible via a data attribute on that div `data-ssa-custom-component` and stored as a JSON object.

    If the custom component contains any dropzone, each one of them will be rendered in a `<template>` inside the div and can be retrieved by a data attribute `data-dropzone-id` where the value will be `dropzone-[uuid-of-the-dropzone]`. You can find the uuid of a dropzone in the `canvas` object of the custom component form Json.

     

    DX8 knowledge base icon

    Frequently asked questions

    Get instant answers to common questions. Available online 24/7.

    Find answers

    Raise a ticket icon

    Raise a support ticket

    To raise a ticket, sign into Acquia Cloud and select Help in the top menu.

    Raise support ticket

    Acquia

    Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.