Back to Website
Show / Hide Table of Contents

Slots

  • Last updated on July 3, 2025
  • •
  • 1 minute to read

The slots allow you to embed external HTML content into workflow elements. In this way, you can customize the editor with greater flexibility, as well as add new functionality if needed.

The Handy Editor has special slots where you can insert your own content and then modify it through interaction with the Document Object Model (DOM), for example, by retrieving the desired element by its ID. Currently, no restrictions on embedding have been placed, so in addition to standard HTML, other web components or IFRAME elements can also be used as content.

logo

The logo slot can be used to change the editor's logo. If the content is not transmitted, the standard Customer's Canvas logo will be displayed.

Pass an HTML content with the logo attribute as a child element of au-handy-editor as follows:

<au-handy-editor>
  <a logo href="https://customerscanvas.com/">
     <img width="64" src="https://i.giphy.com/media/RLtIXkhNGVItMov3lZ/giphy.gif" />
  </a>
</au-handy-editor>

As a result, the logo changes.

The logo slot in Handy Editor

rightPanelContent

The rightPanelContent slot allows you to show an additional panel with your content in the right part of the editor.

Pass your content with the rightPanelContent attribute as a child element of au-handy-editor.

<au-handy-editor>
  <div rightPanelContent>Check your email for the Order details</div>
</au-handy-editor>

The rightPanelContent slot in Handy Editor.

rightPanelHeader

The rightPanelHeader slot is used together with rightPanelContent and allows you to set a title for the panel.

<au-handy-editor>
  <div rightPanelHeader>Order overview</div>
  <div rightPanelContent>Check your email for the Order details</div>
</au-handy-editor>

The rightPanelHeader slot in Handy Editor.

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